Skip to content

Instantly share code, notes, and snippets.

@goofmint

goofmint/index.js

Created Feb 8, 2018
Embed
What would you like to do?
console.log(g.next());
-> {done: false, value: 4}
console.log(g.next());
-> {done: false, value: 5}
console.log(g.next());
-> {done: false, value: 6}
console.log(g.next());
-> {done: true, value: undefined}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment