I am learning JS for work. This is a pretty good summary of the most common scoping rules in JavaScript:
http://stackoverflow.com/questions/500431/what-is-the-scope-of-variables-in-javascript
I am learning JS for work. This is a pretty good summary of the most common scoping rules in JavaScript:
http://stackoverflow.com/questions/500431/what-is-the-scope-of-variables-in-javascript