Question 12/22
intermediate
Select one answer

What are the differences between Promise.all, allSettled, any, and race?

They all wait for all promises to complete
all waits for all/any reject, allSettled waits for all, any returns first fulfilled, race returns first settled
They are all aliases for the same method
Only race handles multiple promises

Premium Question

Upgrade to unlock this question and 300+ more interview prep MCQs.