QuizNot attempted
What each combinator returns
1–4 to choose, Enter to submit
Show answer & explanation
Correct answer:
Promise.allSettled
Promise.allSettledresolves to one{ status: 'fulfilled', value }or{ status: 'rejected', reason }per input and never rejects.- Not Promise.all: an array of plain values, or the first error.
- Not Promise.any: a single value, the first success (or
AggregateError). - Not Promise.race: a single value or error, whichever settles first.