In the previous article, we talked about execution context, what it is, how it works, and how its created. We explained how execution context is created from an overview, and we didn't get into the steps that happen during the creation. Now we'll start diving into the steps that happen when execution context is created, specifically we'll learn about lexical environment.
How JS Works - Lexical Environment
How JS Works - Lexical Environment
How JS Works - Lexical Environment
In the previous article, we talked about execution context, what it is, how it works, and how its created. We explained how execution context is created from an overview, and we didn't get into the steps that happen during the creation. Now we'll start diving into the steps that happen when execution context is created, specifically we'll learn about lexical environment.