promise.any()
HardPrompt
Implement a function customPromiseAny that takes an array of promises and returns a new promise. It should behave like the native Promise.any() but you cannot use Promise.any in your implementation.
Implement a function customPromiseAny that takes an array of promises and returns a new promise. It should behave like the native Promise.any() but you cannot use Promise.any in your implementation.