Skip to content

Instantly share code, notes, and snippets.

View mrailton's full-sized avatar

Mark Railton mrailton

View GitHub Profile
@mrailton
mrailton / drink.js
Created September 19, 2016 20:28
whatCanIDrink
function whatCanIDrink(age) {
if (age < 0) {
return "Sorry. I can’t tell what drink because that age is incorrect!";
} else if (age < 14) {
return "Drink Toddy"
} else if (age < 18) {
return "Drink Coke"
}
}

Keybase proof

I hereby claim:

  • I am railto on github.
  • I am railto (https://keybase.io/railto) on keybase.
  • I have a public key ASCtzTVjKcr4K0USfJygKE0JZdlZNDjVNyHNqxY4mZ1g_go

To claim this, I am signing this object: