@daiso-tech/core
Version:
The library offers flexible, framework-agnostic solutions for modern web applications, built on adaptable components that integrate seamlessly with popular frameworks like Next Js.
20 lines • 374 B
JavaScript
/**
* @module Collection
*/
/**
* @internal
*/
export class EntriesIterable {
iterable;
constructor(iterable) {
this.iterable = iterable;
}
*[Symbol.iterator]() {
let index = 0;
for (const item of this.iterable) {
yield [index, item];
index++;
}
}
}
//# sourceMappingURL=entries-iterable.js.map