What can happen when a Bash function assigns a variable without declaring it local?
local
The assignment always fails because global variables are read-only inside functions.
The assignment can change a variable visible elsewhere in the script.
The value exists only in a new subshell that Bash always creates for the function.
Bash automatically confines every function assignment to that function.