Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
490 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | 'use strict';
|
---|
| 2 | require('../../modules/es.aggregate-error');
|
---|
| 3 | require('../../modules/es.array.iterator');
|
---|
| 4 | require('../../modules/es.object.to-string');
|
---|
| 5 | require('../../modules/es.promise');
|
---|
| 6 | require('../../modules/es.promise.any');
|
---|
| 7 | require('../../modules/es.string.iterator');
|
---|
| 8 | var path = require('../../internals/path');
|
---|
| 9 |
|
---|
| 10 | var Promise = path.Promise;
|
---|
| 11 | var $any = Promise.any;
|
---|
| 12 |
|
---|
| 13 | module.exports = function any(iterable) {
|
---|
| 14 | return $any.call(typeof this === 'function' ? this : Promise, iterable);
|
---|
| 15 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.