Last active
August 29, 2015 14:18
-
-
Save rahatarmanahmed/3400fb61ba381ccf7a26 to your computer and use it in GitHub Desktop.
HalfLife.js
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
const HOW_MANY_HALF_LIVES = 3; | |
switch(HOW_MANY_HALF_LIVES) | |
{ | |
case 1: console.log("I guess it truly was.... a half-life..."); break; | |
case 2: console.log("Isn't it actually a full life?"); break; | |
case 3: console.log("Nice try idiot, how can you have more than 2 half lives that doesn't even make sense.... dumbass"); break; | |
default: ValveTime.defer(function(){ | |
console.log("TOO BE CONFIRMED") | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment