remove a wrong word

The `foo` variable is a local variable in the code. if the variable is a global variable, that function `myFn` can see changes to the variable value too, so i removed the word 'global'.