Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardJavaScriptPromise.all race allSettledSingle-choice MCQ

What does this code log?

Promise.resolve(1).then(() => { throw "fail"; }).catch(e => "resolved").then(v => console.log(v));