my-idlers/node_modules/collect.js/dist/methods/symbol.iterator.js
cp6 fd22b0bf58 V2 (Laravel re-make)
V2 (Laravel re-make)
2022-03-06 02:02:12 +11:00

18 lines
272 B
JavaScript
Vendored

'use strict';
module.exports = function SymbolIterator() {
var _this = this;
var index = -1;
return {
next: function next() {
index += 1;
return {
value: _this.items[index],
done: index >= _this.items.length
};
}
};
};