5 ms·
> The author magnificently understates how useful closures can be. I didn't see a reference to closures in the article. I know you probably know this but firs
by chollida1 18y ago
> The author magnificently understates how useful closures can be.
I didn't see a reference to closures in the article.
I know you probably know this but first class functions aren't closures.
The wikipedia article for them doesn't even mention closures: http://en.wikipedia.org/wiki/First-class_function http://en.wikipedia.org/wiki/First-class_function
- anc2020 18y agoThis is a post about JavaScript as a whole, and so I can only hope he meant "first class functions and closures". If he didn't, well that would be even more worrying.