Skip to content

Instantly share code, notes, and snippets.

@neight-allen
Forked from beacrea/whenToDropIt.js
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neight-allen/03408097cccea2dde617 to your computer and use it in GitHub Desktop.
Save neight-allen/03408097cccea2dde617 to your computer and use it in GitHub Desktop.
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