Files
tryno10/app/code/node_modules/collect.js/dist/methods/symbol.iterator.js
T
2022-04-07 18:09:31 +05:30

18 lines
272 B
JavaScript

'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
};
}
};
};