Skip to content

Instantly share code, notes, and snippets.

@creyn

creyn/index.js Secret

Created August 25, 2018 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save creyn/36a5b7523a01acdff4c8ce0236d436dc to your computer and use it in GitHub Desktop.
Save creyn/36a5b7523a01acdff4c8ce0236d436dc to your computer and use it in GitHub Desktop.
Droga Programisty : Kod : CONTINUE i BREAK w JavaScript
var liczba = 1;
for (; ; liczba++) {
if (liczba % 2 == 0) continue;
if (liczba % 9 == 0) break;
}
console.log('Znaleziona liczba to: ' + liczba);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment