es.iterator.map.js 325 B

12345678910
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. var map = require('../internals/iterator-map');
  4. var IS_PURE = require('../internals/is-pure');
  5. // `Iterator.prototype.map` method
  6. // https://tc39.es/ecma262/#sec-iterator.prototype.map
  7. $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
  8. map: map
  9. });