Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyNodeJSpromises and async awaitSingle-choice MCQ

What does this print?

async function run() { const r = await [Promise.resolve(1), Promise.resolve(2)][0]; console.log(r); } run();