|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
591 bytes
|
| Line | |
|---|
| 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 call = require('../../internals/function-call');
|
|---|
| 9 | var isCallable = require('../../internals/is-callable');
|
|---|
| 10 | var path = require('../../internals/path');
|
|---|
| 11 |
|
|---|
| 12 | var Promise = path.Promise;
|
|---|
| 13 | var $any = Promise.any;
|
|---|
| 14 |
|
|---|
| 15 | module.exports = function any(iterable) {
|
|---|
| 16 | return call($any, isCallable(this) ? this : Promise, iterable);
|
|---|
| 17 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.