Execution context and the call stack — visually illustrated by a slice of tasty cake

Global Scope is created internally by JavaScript as var window = Window() (rough equivalent) behind the veil. A new Execution Context is caused by a function call. This new Execution Context is then placed on top of Execution Stack (or The Call Stack).

Read More