How to Create a Name-Spaced Object to Avoid Using Global Variables in JavaScript
Creating your own custom Object is a good way to keep the global name-space clean and write organized code with predictable results. Sometimes you may need variables that are available to every...
View ArticleAssociative Arrays in JavaScript
You may be finding conflicting information about associative arrays in JavaScript. Well, the answer is quite simple…. and then things start to get a little odd If you are frustrated because you have...
View ArticleUnderstanding Context in JavaScript – Object Literals
Why is the word “this” so important in JavaScript? In the post: “Understanding Scope in JavaScript,” I covered the basics of how scope works when dealing with functions. Sometimes the words “scope” and...
View ArticleThe JavaScript “this” Keyword Deep Dive: Nested Methods
In an earlier article: The JavaScript “this” Keyword Deep Dive: Nested Functions, we learned how functions that are not methods evaluate “this” to the window object. In that post, we demonstrated that...
View Article
More Pages to Explore .....