Created
June 19, 2018 07:13
-
-
Save ssougnez/43dff0a074c302c059beaf102e9706da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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