I am always having difficulties in understanding what closure does. I’ve been searching on the web for a while but not many articles helped me.
Finally I came across with 2 excellent resources which helps me a lot:
Morris Johns’ JavaScript closure for dummies
http://blog.morrisjohns.com/javascript_closures_for_dummies.html
Stuart Langridge’s secrets of JavaScript closure
http://www.kryogenix.org/code/browser/secrets-of-javascript-closures/
So according to my understanding now, closure benefits us as:
PS: Stuart Langridge’s Fronteers 2008 conference presentation video is a must watch!!
no comments
RSS / trackback