This blog post is outdated. Please read chapter “Asynchronous programming (background)” in “Exploring ES6”. This blog post explains foundations of asynchronous programming in JavaScript. It is first in a series of two posts and prepares you for part two, which covers promises and the ECMAScript 6 promise API. The JavaScript call stack # When a function f calls a function g, g needs to know where