Hacker News new | ask | show | jobs
by loige 2702 days ago
I meant there "[Once the generator has completed], Consecutive calls to `next()` will always produce `{ done: true }`".

I should probably make it more explicit

PS: I like your n+1 example.