closures in javascript

Demystifying Closures in JavaScript

Hey guys 👋🏻, In this article, let us talk about Closures in Javascript. In this article, we will understand✔ What are Closures ?✔ Code Example with explanation. ✔ Conclusion What are Closures ? Before understanding what a closure is, let us revisit the concept of functions. From what we know about functions in JavaScript is…