AJ's blog

AJ's blog

Closures in JavaScript - what and why we need closures?

Aug 22, 20204 min read

What Is Closures in JavaScript? Recently I saw lots of tweets and post about closures in JavaScript and I thought about posting about my understanding of the Closures. According to MDN closure is "A closure is the combination of a function bundled ...

Closures in JavaScript - what and why we need closures?