Got something to say? Share your comments on this topic with other web professionals In: Articles By Mike West Published on September 11, 2006 Scope is one of the foundational aspects of the JavaScript language, and probably the one I’ve struggled with the most when building complex programs. I can’t count the number of times I’ve lost track of what the this keyword refers to after passing control
![Scope in JavaScript - Digital Web](https://cdn-ak-scissors.b.st-hatena.com/image/square/8a5b44a428f81b9bcbede3a97471757106b0a4bf/height=288;version=1;width=512/https%3A%2F%2Fwww.digital-web.com%2Fwp-content%2Fuploads%2F2014%2F01%2Fcode-3337044__340.jpg)