7406487362ca1cd51d8d856a931f5d1f1c1975e959dd59989d4a7cd3a01f57594b67301146bb3cc84e96fe749010b56a177f5b72447e268df754846f6543fc 356 B

12345678910111213
  1. 'use strict';
  2. var call = require('../internals/function-call');
  3. var map = require('../internals/iterator-map');
  4. var callback = function (value, counter) {
  5. return [counter, value];
  6. };
  7. // `Iterator.prototype.indexed` method
  8. // https://github.com/tc39/proposal-iterator-helpers
  9. module.exports = function indexed() {
  10. return call(map, this, callback);
  11. };