Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumJavaScripttop-level await orderingSingle-choice MCQ

What is the value of the awaited expression?

async function g(){return await Promise.resolve(1);}\ng().then(console.log);