JavaScript Fundamentals · JavaScript Promises, async/await and fetch Explained
Question 1 of 5
In what order does this script log its four letters?
console.log("a");
setTimeout(() => console.log("b"), 0);
Promise.resolve().then(() => console.log("c"));
console.log("d");Tip: press 1-4 to answer, Enter to continue. Finish the quiz to bank your XP.