Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumJavaScriptmicrotask vs macrotask orderingSingle-choice MCQ

What does this code log first?

console.log("A");\nPromise.resolve().then(()=>console.log("B"));\nconsole.log("C");