-
-
Save neight-allen/03408097cccea2dde617 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 situation = 'pigs'; | |
var conditionEnd = ' like it\'s hot.'; | |
switch (situation) { | |
case 'pigs': | |
console.log('Park it' + conditionEnd); | |
break; | |
case 'pimps': | |
console.log('Drop it' + conditionEnd); | |
break; | |
case 'ngAttitude': | |
console.log('Pop it' + conditionEnd); | |
break; | |
default: | |
console.log('I got the rolly on my arm and I\'m pouring Chandon.'); | |
break; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment