Call Stack
↔ where code executed via EC, to track execution order
EC
Environ to run JS, to contain VEST (Variable Environment, Scope Chain & this keyword), to fill task pipline in Call Stack
Call Stack stores Primitives but not Objects
JavaScript code runs inside an EC in the Call Stack
References
**Event Loop**
↔ (mechanism) to orchestrate Non-Blocking Concurrency Model by manageCallback Functions between Callback Queue& Call Stack, toawait
executeExecution
↔ (process) to run Machine Code immediately in Call StackJS Engine
↔ Program to execute JS Source Code, consists of Call Stack, Heap, Callback Queue & Event LoopEC
↔ Environ to run JS, to contain VEST (Variable Environment, Scope Chain & this keyword), to fill task pipline in Call StackInternalError
↔ Exception when exceed Call Stack size in JS Engine - when something too large || Infinite LoopAsynchronous Code
↔ Non-Blocking Code to defer execute, wait in Callback Queue & move to Call Stack once background task SettledMicrotask
↔ Callback to defer fn after parent EC popped off Call StackMicrotasks Queue
↔ used to queue async promises, to defer execute until Call Stack empty