MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/btxz72/what_are_some_javascript_things_beginners_dont/ep53lwq/?context=3
r/javascript • u/[deleted] • May 28 '19
383 comments sorted by
View all comments
152
Closure is a concept I see lots of beginners struggle with. You can massively speed up dev time once you grasp how it works in JS.
12 u/razorsyntax May 28 '19 I never understood why we don’t call closures “scope”? What’s the difference between closures and scope in, say, C++ or Java? 5 u/eatsomeonion May 28 '19 Closure is part of the function scope property
12
I never understood why we don’t call closures “scope”? What’s the difference between closures and scope in, say, C++ or Java?
5 u/eatsomeonion May 28 '19 Closure is part of the function scope property
5
Closure is part of the function scope property
152
u/[deleted] May 28 '19
Closure is a concept I see lots of beginners struggle with. You can massively speed up dev time once you grasp how it works in JS.