esnext.iterator.as-indexed-pairs.js 343 B

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