Skip to main content

Promise Any

Problem 83intermediate25 mins

Promise Any

Created on: 9 Sep 2025, 11:30 AM

Time Elapsed
00:00
Problem Description

Implement Promise.any() that resolves with the first fulfilled promise.

Requirements

  • •First fulfilled wins
  • •Aggregate errors
  • •Return promise
  • •Handle all rejections
  • •Handle empty array

Tags

JavaScriptPromisesAsyncPolyfill
Code Editor

Loading editor...