Skip to content

Instantly share code, notes, and snippets.

@goofmint
Created Feb 8, 2018
Embed
What would you like to do?
function* gen(i) {
i++;
yield i;
i++;
yield i;
i++;
yield i;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment