jpcody + closure   1

​W​h​y​ ​u​s​e​ ​"​c​l​o​s​u​r​e​"​?​ ​-​ ​H​o​w​ ​T​o​ ​N​o​d​e
One of the greatest features of the JavaScript language is closure. I've discussed this concept some in the "What is This?" article. There I was explaining scope and context. Today I wish to explain about some practical uses of a closure in event based programming as well as compare it to other methods like object orientation to preserve state across event calls.
javascript  closure 
september 2010 by jpcody

related tags

closure  javascript 

Copy this bookmark:



description:


tags: