Click Next Step to see how JavaScript handles normal code, timers, and Promises.
Click Next Step to start.
console.log("A"); setTimeout(function() { console.log("B"); }, 0); Promise.resolve().then(function() { console.log("C"); }); console.log("D");