esnext.async-iterator.every.js 316 B

12345678910
  1. 'use strict';
  2. // https://github.com/tc39/proposal-iterator-helpers
  3. var $ = require('../internals/export');
  4. var $every = require('../internals/async-iterator-iteration').every;
  5. $({ target: 'AsyncIterator', proto: true, real: true, forced: true }, {
  6. every: function every(fn) {
  7. return $every(this, fn);
  8. }
  9. });