InterviewBuddy
All interview questions

What does Promise.race return?

Intermediate

Answer

It settles with the result or rejection of the first input Promise to settle. It does not cancel the other Promises.