Part 1: The Question Tutorials Skip
What no one teaches you about the JavaScript Event Loop — Part 1 of 8 A puzzle to start Open any page in your browser. Open DevTools, go to the console, and paste this: document.body.addEventListener
Search for a command to run...
Articles tagged with #programming-blogs
What no one teaches you about the JavaScript Event Loop — Part 1 of 8 A puzzle to start Open any page in your browser. Open DevTools, go to the console, and paste this: document.body.addEventListener
The JavaScript Environment Model — Part 4 of 4. By the end of this post you'll be able to predict the value of this in any function, regardless of how it's defined or called. Arrow functions will stop
The JavaScript Environment Model — Part 3 of 4. By the end of this post you'll know exactly when the EC's two pointers diverge, why they were designed that way, and why "var is function-scoped, let is
The JavaScript Environment Model — Part 2 of 4. By the end of this post you'll be able to explain closures mechanically — not as a metaphor about "remembering," but as a chain of pointers that the gar
The JavaScript Environment Model — Part 1 of 4. By the end of this post you'll be able to predict the output of any program that mixes declarations and access order, and you'll know exactly what the e