🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
242 B
JavaScript
Executable File
17 lines
242 B
JavaScript
Executable File
'use strict';
|
|
|
|
module.exports = function SymbolIterator() {
|
|
let index = -1;
|
|
|
|
return {
|
|
next: () => {
|
|
index += 1;
|
|
|
|
return {
|
|
value: this.items[index],
|
|
done: index >= this.items.length,
|
|
};
|
|
},
|
|
};
|
|
};
|