Tag Archives: scoping

Learning Javascript – Namespace and scoping

In my previous posts I have discussed about functions and this keyword in javascript. In this post I will discuss about the scoping and namespace in javascript. How namespace can prevent from the prevention of the pollution of the code which is created due to lack of proper scoping.