Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
let generator = random(0, 10);
for (let value of generator) {
if (value !== 8) {
console.log(value);
}
else {
break;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment