hz-zhhq-app/node_modules/core-js/es/promise/any.js

16 lines
490 B
JavaScript

'use strict';
require('../../modules/es.aggregate-error');
require('../../modules/es.array.iterator');
require('../../modules/es.object.to-string');
require('../../modules/es.promise');
require('../../modules/es.promise.any');
require('../../modules/es.string.iterator');
var path = require('../../internals/path');
var Promise = path.Promise;
var $any = Promise.any;
module.exports = function any(iterable) {
return $any.call(typeof this === 'function' ? this : Promise, iterable);
};