Understand closures in javascript
Let’s learn closures today, How closures are define how they got intialize and how they work
A closure is a function within a function that has access to the environment that it was created, which gives the ability to access the private methods…