Skip to content

Instantly share code, notes, and snippets.

@creyn

creyn/index.js Secret

Created August 25, 2018 14:27
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/ec6c398f5b01fca04e5651d9a4949da7 to your computer and use it in GitHub Desktop.
Save creyn/ec6c398f5b01fca04e5651d9a4949da7 to your computer and use it in GitHub Desktop.
Droga Programisty : Kod : FOR w JavaScript 2
// petla nieskonczona, zmienna "i" przeskoczy z 9 na 11
// warunek koncowy nigdy nie zostanie spelniony !
for (var i = 1; i == 10; i += 2) {
console.log('To jest krok: ' + i);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment