Behind the Scenes of JavaScript: What We Use Without Understanding
summary
Covers JavaScript implementation details from a 1995-to-present timeline, naming engines V8, SpiderMonkey and JavaScriptCore and explaining how engine, runtime and Web APIs interact. Describes runtime concepts (call stack, heap, event loop, task queue and microtask queue) to explain why timers and console.log differ and why promises (microtasks) run before setTimeout tasks; also shows promise internals, hoisting, TDZ and the two-pass creation vs execution phases with concrete examples and final ordering outcomes.
AI-written summary · about
chapters (10)
- 0:00JavaScript backstage
- 1:11JavaScript history
- 4:48JavaScript engines
- 7:16Execution stack
- 13:13Web API and async
- 17:46Event loop
- 21:35Async exercise
- 25:50JavaScript promises
- 31:27Execution contexts
- 43:03Summary
related talks
45mBehind the Scenes of JavaScript: What We Use Without c…
17mDemystifying (JavaScript) engines
18mA Brief History of JavaScript
21mDemystifying Javascript Engines
28mThe Past, Present and Future of JavaScript Engines
18mDemystifying JS Engines
26mJavaScript VMs 101
29mJavaScript Engines: How Do They Even?
