Loading...
function* counter() {
yield 1;
yield 2;
yield 3;
}
const gen = counter();
console.log(gen.next());
not created
no calls yet
No output yet.