Implement a Custom Polyfill for Promise.any()
Write a polyfill for Promise.any() which resolves as soon as any one of the input promises resolves successfully. Unlike Promise.race(), it ignores rejections and only rejects if ALL promises reject, in which case it throws an AggregateError containing all rejection reasons. This is the optimistic counterpart to Promise.all() and is useful for fallback fetching strategies and first-success patterns.