Closure in JS
The closure is a function that is bound together with its lexical environment. Lexical environment is an environment where the function can access a variable declared in its parent environment Closure gives access to scope of outer function from inn...