JSFiddle - React, Tailwind, and code Playground

by Newton Anbarasu

JavaScript

console.log("A");

setTimeout(() => {
  console.log("B");
}, 0);

Promise.resolve().then(() => {
  console.log("C");
});

console.log("D");