Colin Ramsay is a partner at UK development firm Go Tripod Ltd. He is the co-author of Learning Ext JS and his blog contains articles on a wide range of subjects.
Understanding scope in programming is key to appreciating how your variables interact with the rest of your code. In some languages, this can be quite straightforward, but JavaScript’s anonymous functions and event handling features, along with a couple of little quirks, mean that handling scope in your applications can become frustrating.
Read more…