Created
January 30, 2017 17:58
-
-
Save samueljoli/80cf276144475c14be3d10f89929560d 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
/more psuedo-JS... yay! | |
var switchVal = 2; | |
switch(switchVal) { | |
case 0: | |
console.log('I like 0'); | |
break; | |
case 1: | |
console.log('This is an arbitrary function'); | |
break; | |
case 2: | |
console.log('2 is the smallest non-negative prime number'); | |
break; | |
case 3: | |
console.log('One more for the show'); | |
break; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment