Of course, you could add the race function as a method to the promise object. To extend the race function to work with any number of promises can be done in two ways, either jQuery's multiple ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results