JavaScript Promises and Async/Await Explained
A practical mental model for understanding what JavaScript actually does when you create a Promise, chain then(), call an async function, or pause at await.
The journal
Loading articles…
3 articles
A practical mental model for understanding what JavaScript actually does when you create a Promise, chain then(), call an async function, or pause at await.
A practical mental model for predicting JavaScript execution order, understanding browser rendering, and finding event-loop performance bugs.
JavaScript looks like source code executed line by line, but modern engines do far more. Follow JavaScript from raw source text through parsing, execution contexts, bytecode, JIT compilation, optimisation, deoptimization, and machine execution.