Closures in Javascript
So I never really understood closures or what they were for. This is a great reference explaining closures.
http://blog.morrisjohns.com/javascript_closures_for_dummies
There is a link near the bottom that explains how to use closures for private members. Also closures can be used for callback methods.
http://blog.morrisjohns.com/javascript_closures_for_dummies
There is a link near the bottom that explains how to use closures for private members. Also closures can be used for callback methods.
Comments
Post a Comment