MES手机端
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.
 
 
 
 

9 lines
477 B

  1. 'use strict';
  2. var NativePromiseConstructor = require('../internals/promise-native-constructor');
  3. var checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');
  4. var FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;
  5. module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {
  6. NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });
  7. });