-
-
Save creyn/889551e75dc81ec6b71323a45c0601ba to your computer and use it in GitHub Desktop.
Droga Programisty : Kod : SWITCH w JavaScript
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
var liczba = 4; | |
switch (liczba) { | |
case 4: | |
console.log('liczba to 4'); | |
break; | |
case 5: | |
console.log('liczba to 5'); | |
break; | |
default: | |
console.log('jakas inna liczba'); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment