esnext.async-iterator.as-indexed-pairs.js 373 B

12345678910
  1. 'use strict';
  2. // TODO: Remove from `core-js@4`
  3. var $ = require('../internals/export');
  4. var indexed = require('../internals/async-iterator-indexed');
  5. // `AsyncIterator.prototype.asIndexedPairs` method
  6. // https://github.com/tc39/proposal-iterator-helpers
  7. $({ target: 'AsyncIterator', name: 'indexed', proto: true, real: true, forced: true }, {
  8. asIndexedPairs: indexed
  9. });