DEV Community

loading...

Discussion on: In your opinion, what is the most confusing part of JavaScript?

Collapse
jckuhl profile image
Jonathan Kuhl

Closures. It's a complicated subject involving an understanding of how the execution context works and how variables are scoped and held within the JavaScript engine. It takes a lot of practice and theory for closures to finally click. It took me like six months to finally grok it.