You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
davhojt 9e13f453a6 docs(race): correct grammar 2 years ago
..
README.md docs(race): correct grammar 2 years ago

README.md

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.

Promise.race = undefined

Notions