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

What is the result of this Promise.race call?

const r = Promise.race([ Promise.reject('fast-rej'), Promise.resolve('slow') ]); r.then( v => console.log('resolved', v), e => console.log('rejected', e) );