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

package.modules.esnext.async-iterator.for-each.js Maven / Gradle / Ivy

The newest version!
'use strict';
var $ = require('../internals/export');
var $forEach = require('../internals/async-iterator-iteration').forEach;

// `AsyncIterator.prototype.forEach` method
// https://github.com/tc39/proposal-async-iterator-helpers
$({ target: 'AsyncIterator', proto: true, real: true }, {
  forEach: function forEach(fn) {
    return $forEach(this, fn);
  }
});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy