## Race ### Instructions Create two functions: - `race`: that works like `Promise.race`. - `some`: that takes an `array` of promises or values, and `count` number. It should return the first `count` resolved values. Empty arrays or a `count` of 0 return a promise resolving to `undefined`. ### Code provided > The provided code will be added to your solution, and does not need to be submitted. ```js Promise.race = undefined ``` ### Notions - [Promise](https://nan-academy.github.io/js-training/examples/promise.js) - [Promise.race](https://devdocs.io/javascript/global_objects/promise/race)