Skip to content

Instantly share code, notes, and snippets.

@rahatarmanahmed
Last active August 29, 2015 14:18
Show Gist options
  • Save rahatarmanahmed/3400fb61ba381ccf7a26 to your computer and use it in GitHub Desktop.
Save rahatarmanahmed/3400fb61ba381ccf7a26 to your computer and use it in GitHub Desktop.
HalfLife.js
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