Last active
November 4, 2015 11:28
-
-
Save GedMullen/f15d293a4f89d7069ecf 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 shade = process.argv[2]; | |
switch(shade) { | |
case "black": | |
console.log("You chose black"); | |
break; | |
case "white": | |
console.log("You chose white"); | |
break; | |
default: | |
console.log("Please choose either black or white"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment