esnext.iterator.map.js 245 B

12345678
  1. var $ = require('../internals/export');
  2. var map = require('../internals/iterator-map');
  3. // `Iterator.prototype.map` method
  4. // https://github.com/tc39/proposal-iterator-helpers
  5. $({ target: 'Iterator', proto: true, real: true }, {
  6. map: map
  7. });