Creating "Execution Context"
Two
Phases
1. Creation Phase
The Scope Chain is Created
Variables, Functions, etc are added to the Global Object or the Variable Object.
values are not assigned to the variables, this happens in the execution phase.
The "this" keyword binding is determined
2. Execution Phase
Assigns values to Variables, Functions, etc.
Executes (runs) the code
Made with Slides.com