DIR: /proc/1991109/root/usr/share/nodejs/core-js-pure/internals/ |
Current File : //proc/1991109/root/usr/share/nodejs/core-js-pure/internals/promise-statics-incorrect-iteration.js |
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 */ }); }); |