🚧 施工中
JS ⟩ concept ⟩ execution context ⟩ running execution context
At any point in time, there is at most one execution context that is actually executing code. This is known as the running execution context.
📘 JS spec ⟩ 8.2 Execution Contextsarrow-up-right
A stack (call stack) is used to track execution context(s). The running execution context is always the top element of this stack.
lexical environment is part of execution context.
Anil ⟩ Scope, Lexical Environment and Scope Chain in JavaScriptarrow-up-right ⭐️
JS spec ⟩
Execution Contextsarrow-up-right
running execution contextarrow-up-right
call stack
running execution context
Last updated 3 years ago