← Quiz: Async JavaScript: all 10 questions
Quiz: Async JavaScript · Question 8 of 10
Which Promise helper gives the result of the first promise to SUCCEED, ignoring earlier failures?
Which Promise helper gives the result of the first promise to SUCCEED, ignoring earlier failures?
- A.Promise.all
- B.Promise.race
- C.Promise.any
- D.Promise.allSettled
Answer & explanation
Correct answer: Promise.any
race takes the first to settle (success or failure); any waits for the first success.
Can you get the rest right without peeking?
Take the timed Quiz: Async JavaScript quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →