source: frontend/node_modules/core-js/internals/iterator-indexed.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 419 bytes
Line 
1'use strict';
2require('../modules/es.iterator.map');
3var call = require('../internals/function-call');
4var map = require('../internals/iterators-core').IteratorPrototype.map;
5
6var callback = function (value, counter) {
7 return [counter, value];
8};
9
10// `Iterator.prototype.indexed` method
11// https://github.com/tc39/proposal-iterator-helpers
12module.exports = function indexed() {
13 return call(map, this, callback);
14};
Note: See TracBrowser for help on using the repository browser.