Hola Js Devs, I am sure you would have heard the term “closures” during development or even during interviews. But are you sure you know closures thoroughly? Even if you haven’t this article will help you understand it in detail. I guarantee that you might have used closures without even knowing (this happened in my case) and you’ll have a eureka moment after realizing you have been using it all along be it in react/angular/node etc. Well, Buckle up boys and girls.

The general definition of closures goes as “Closure is when a function can remember and access its lexical…


JavaScript Dev

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store