Closure and Lexical scoping in javascript
What is lexical enviornment?
Every time of execution of the code in javascript, javascript engine creates lexical enviornment to know location of the variables defined in that source code. A lexical enviornment is a data structure that holds an ident...
ankitmishraindia.hashnode.dev2 min read