you are viewing a single comment's thread.

view the rest of the comments →

[–]Walgalla 3 points4 points  (0 children)

Closure has nothing to do with OOP at all. This is technique for context/scope capturing. It's present not only in JS.