Update gotchas.md

Makes clear that variables declared in the global scope may not use the `var` keyword and the result will still be the same.