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

An async function throws. How is the error surfaced to the caller?

async function load() { throw new Error('boom'); } const p = load(); console.log(p instanceof Promise);