create polyfill of promise.any() in javascript
so first understand the meaning of promise.any() what it does according to mdn docs
The Promise.any() static method takes an iterable of promises as input and returns a single Promise. This returned promise fulfills when any of the input's promises ...
rajrana.hashnode.dev4 min read