the bash builtin echo will fail to see var1 because this declaration at the command level only affects subshells
So yes.