Skip to content

Instantly share code, notes, and snippets.

@mcandre
Created February 28, 2012 00:23
Show Gist options
  • Save mcandre/1928094 to your computer and use it in GitHub Desktop.
Save mcandre/1928094 to your computer and use it in GitHub Desktop.
function dude() {
console.log("Dude, what does my tattoo say?");
}
function sweet() {
console.log("Sweet! What about mine?");
}
var tattoos = [dude, sweet];
while (true) {
tattoos[Math.floor(Math.random() * 2)]();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment