I was surprised to find out that setting an environment variable modified the last exist code variable
$ false $ echo $? 1 $ false $ FOO=BAR $ echo $? 0 $
The bash manual says only this about
($?) Expands to the exit status of the most recently executed foreground pipeline.
Where is the exit code of a variable being set documented? Can it fail?