A deep dive into the strange world of JavaScript
- Execution Phase of Execution Context
- Single Threaded - one command at a time.
- Synchronous - one at a time and in order.
- Invocation - running a function
- Execution Stack
In the 'Execution Phase' code is run line by line. JavaScript is single threaded and sychronous in it's execution.Execution Stack is once a function is invoked it stacks on to the Global Execution Context.