The JavaScript Interpreter, Interpreted
summary
Explains how JavaScript actually creates and executes function objects: a distinct creation phase builds a variable object (with arguments), hoisting pulls names up and sets locals to undefined, and an execution phase runs code; scope is a chain of variable objects linked to parents, there are three execution contexts (global, function, eval), this resolves to global for top-level, to the receiver for methods and to the new object for constructors, closures keep references to parent variable objects, with live demos like find the kitten and the b/puppycat method reassignment.
AI-written summary · about
chapters (7)
related talks
19mThe JavaScript Interpreter, Interpreted
38mJavaScript VM internals, EventLoop, Async and ScopeChains
45mBehind the Scenes of JavaScript: What We Use Without c…
44mBehind the Scenes of JavaScript: What We Use Without Understanding
37mJavaScript Inside Out How Your Favorite Programming Language Is Being Created?
18mHow to Build an Interpreter in 25 Minutes or Less
55mJavaScript the Grumpy Parts
01h 14mJavaScript the Grumpy Parts
