UNPKG

@web-atoms/core

Version:
28 lines (27 loc) 647 B
System.register([], function (_export, _context) { "use strict"; var AtomEnumerator; _export("default", void 0); return { setters: [], execute: function () { _export("default", AtomEnumerator = class AtomEnumerator { constructor(items) { this.items = items; this.index = -1; } next() { this.index++; return this.index < this.items.length; } get current() { return this.items[this.index]; } get currentIndex() { return this.index; } }); } }; }); //# sourceMappingURL=AtomEnumerator.js.map