Advance JavaScript Concepts
Closures
In JavaScript, a closure is a function that has access to variables in its outer lexical environment (an environment inside global environment) , even after that outer function has returned. In other words, a closure is created when a functi...
devway.hashnode.dev4 min read