esnext.async-iterator.some.js 297 B

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