source: frontend/node_modules/core-js/modules/esnext.iterator.sliding.js

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

Fix frontend appearance

  • Property mode set to 100644
File size: 389 bytes
Line 
1'use strict';
2var $ = require('../internals/export');
3var iteratorWindow = require('../internals/iterator-window');
4
5// `Iterator.prototype.sliding` method
6// https://github.com/tc39/proposal-iterator-chunking
7$({ target: 'Iterator', proto: true, real: true, forced: true }, {
8 sliding: function sliding(windowSize) {
9 return iteratorWindow(this, windowSize, 'allow-partial');
10 }
11});
Note: See TracBrowser for help on using the repository browser.