Skip to content

Instantly share code, notes, and snippets.

@creyn

creyn/index.js Secret

Created August 25, 2018 14:26
Show Gist options
  • Save creyn/42196a1352f5301dbc2b51cf8d57c802 to your computer and use it in GitHub Desktop.
Save creyn/42196a1352f5301dbc2b51cf8d57c802 to your computer and use it in GitHub Desktop.
Droga Programisty : Kod : SWITCH w JavaScript 2
var liczba = 4;
switch (liczba) {
case 4:
case 5:
console.log('liczba to 4 lub 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