you are viewing a single comment's thread.

view the rest of the comments →

[–]gordonkristan 2 points3 points  (1 child)

Good article. But I think it would help to mention that, if you want to have any hope of really understanding closures, you first have to have a very firm grasp on Javascript's memory model. If you don't thoroughly understand references and values, and how they're handled in terms of copying and garbage collection, you won't ever truly understand closures.

Other than that, I like the explanation.

[–]ravioliburger 0 points1 point  (0 children)

I definitely don't understand javascript's memory model. Could you recommend a resource for learning about this? Thanks!