All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.internals.promise-statics-incorrect-iteration.js Maven / Gradle / Ivy

The newest version!
'use strict';
var NativePromiseConstructor = require('../internals/promise-native-constructor');
var checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');
var FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;

module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {
  NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });
});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy