UI Deploy

Curated, Short, Web UI Dev we Love.

How do JavaScript closures work under the hood

I've been using closures for quite some time already. I learned how to use them, but I didn't have clear understanding of how closures actually work, and what's going on behind the scenes when I use them. What the closure is exactly, to begin with?

view source

Advertisement