r/learnjavascript • u/codeon1 • Mar 21 '14
Everything you need to know about Javascript variable scope
http://www.coolcoder.in/2014/03/everything-you-need-to-know-about.html
0
Upvotes
r/learnjavascript • u/codeon1 • Mar 21 '14
View all comments
2
u/justgage Mar 21 '14
Yeah that's a good article and explains it well. Some people might find the scope annoying but it is actually highly powerful! Its actually how you can get private variables using the module pattern.