Self-check19 / 19

Check your understanding

Six questions with explanations

01Who provides setTimeout in a browser?
02What does the AST built by the parser contain?
03What happens during deoptimization in V8?
04What is a stack frame for?
05const a = { hp: 10 }; let b = a; b = null; What happens to a?
06A global listener retains a scene. What action is required?

Check the primary source ↗

V8 · Scanner and AST↗The parser builds a tree from tokens to describe the program's structure.V8 · Stack frames↗Storing the state of individual function calls and their return locations.ECMA-262 · Execution Contexts↗Execution contexts and their stack in the specification.V8 · Maglev↗Execution tiers, feedback, and speculative optimization.ECMA-262 · Object Type↗Object properties and identity; the specification does not prescribe physical memory placement.