Execution Context: (Code) Execution Phase
As you recall from the previous part, I mentioned that there are two phases that take place in the Execution Context.
The first is Creation Phase, the second is Execution Phase.
- Global Object
- Special variable: this
- Outer Environment
Then memory is reserved for all variables and functions. When this happens, the Execution Phase begins.
As the name of the phase suggests our code is read line by line, then it is compiled and enforced.
And thats basically all that happens in Execution Phase, no tricks or complicated definitions.