Created
November 14, 2016 08:05
-
-
Save hoosin/f6962f252d6ea08fd13e701ecb5dd061 to your computer and use it in GitHub Desktop.
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 a = 0, b = true; | |
switch(true) { | |
case a: | |
alert('a'); | |
break; | |
case b: | |
alert('b'); | |
break; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment