What JavaScript concept took you the longest to actually understand?
For me, it was the difference between understanding closures in theory and actually knowing when and why they were useful.
I feel like JavaScript has a lot of concepts that seem simple at first, but become much more interesting once you understand what is happening underneath.
I'm curious what everyone's "finally clicked" JavaScript concept was.
Closures? The event loop? Prototypes? this? Promises? The weird parts of type coercion?
Would be interesting to hear what other developers struggled with and what finally made it click.