Implement a Custom Polyfill for Promise.race()
Create a custom implementation of Promise.race() that accepts an iterable of promises and returns a new promise that settles (resolves or rejects) as soon as the first promise in the iterable settles. Unlike Promise.all(), the remaining promises are ignored once the race is decided. Useful for implementing timeout patterns and competitive API fetching strategies.