Quantcast
Viewing latest article 3
Browse Latest Browse All 10

Javascript function scopes and closures

Javascript uses function as scope. Declare a function inside another function creates a different scope. Let’s look at the example code below. Result From the result above we can see clearly the inner scope variable without var overwrites the outer … Continue reading

Viewing latest article 3
Browse Latest Browse All 10

Trending Articles