Skip to content

Instantly share code, notes, and snippets.

@abozhilov
Created June 8, 2016 14:39
Show Gist options
  • Save abozhilov/fcc4979feff0e4b5a712152d0af5a059 to your computer and use it in GitHub Desktop.
Save abozhilov/fcc4979feff0e4b5a712152d0af5a059 to your computer and use it in GitHub Desktop.
case + break
switch(x) {
case 1:
//do something
break;
case 2:
//do something
break;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment