Kitchen coding nightmares: JavaScript scope by David Farrell development perl javascript js var es6 strict requirejs jshint old_site Some JavaScript gotchas and solutions Read it