Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

Which Promise combinator waits for all promises and reports each outcome, never rejecting?

  1. A Promise.all
  2. B Promise.race
  3. C Promise.allSettled
  4. D Promise.any
Answer

Promise.allSettled

allSettled always resolves with an array describing each result. all rejects on the first rejection, race settles with the first to settle, and any resolves with the first success.

All Javascript MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as