HomePremium · ₹1199
← All questions

Polyfill for Promise.any

MediumJavaScript

Resolve with the first fulfilled promise; reject with an AggregateError only if all reject.

Premium question

Unlock the full problem, starter code, and hidden test cases with Mentoxis Premium.

Unlock with Premium
Polyfill for Promise.any — JavaScript Interview Question | Mentoxis