The hardest concepts to understand in JavaScript
Yesterday I asked on Twitter:
“What is the most complicated topic in JavaScript? The one it took you the most to learn?”
and I got over 200 replies.
Here are some things that I saw mentioned multiple times:
this Asynchronous JavaScript (promises, callbacks, async/await) Closures The event loop Recursion Scope Hoisting Prototypical inheritance bind(), call(), apply() reduce() Generators fetch() Perhaps with the exception of generators, which are very niche, the rest is all things we write every day in JavaScript.
flaviocopes.com