As I've mentioned, I'm working on a JavaScript-heavy web app, and I'm re-learning Dojo along the way (it's been a couple of years). While I'm at it, I figured I should scrub up on my understanding of JavaScript closures.
So, here are the two resources I've found most helpful. Hope they help you.
The essentials:
http://www.javascriptkit.com/javatutors/closures.shtml
Achieving traditional OOP outcomes with closures:
http://www.crockford.com/javascript/private.html
No comments:
Post a Comment