first commit

This commit is contained in:
2026-06-24 09:48:54 +02:00
commit 41e62ddcad
33739 changed files with 4266226 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
'use strict';
var $ = require('../internals/export');
var iteratorWindow = require('../internals/iterator-window');
// `Iterator.prototype.windows` method
// https://github.com/tc39/proposal-iterator-chunking
$({ target: 'Iterator', proto: true, real: true, forced: true }, {
windows: function windows(windowSize /* , undersized */) {
return iteratorWindow(this, windowSize, arguments.length < 2 ? undefined : arguments[1]);
}
});