Closures in Javascript
Introduction to javascript Closures
When the inner function accesses values of the outer function it is known as closure. The closure preserves the outer scope inside its inner scope.
To understand the closures, you need to know how the lexical scop...
rishabhthakur.hashnode.dev3 min read