|
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:
440 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 | var $ = require('../internals/export');
|
|---|
| 3 | var iteratorWindow = require('../internals/iterator-window');
|
|---|
| 4 |
|
|---|
| 5 | // `Iterator.prototype.windows` method
|
|---|
| 6 | // https://github.com/tc39/proposal-iterator-chunking
|
|---|
| 7 | $({ target: 'Iterator', proto: true, real: true, forced: true }, {
|
|---|
| 8 | windows: function windows(windowSize /* , undersized */) {
|
|---|
| 9 | return iteratorWindow(this, windowSize, arguments.length < 2 ? undefined : arguments[1]);
|
|---|
| 10 | }
|
|---|
| 11 | });
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.