Skip to content

Instantly share code, notes, and snippets.

@hughrawlinson
Created June 25, 2015 23:07
Show Gist options
  • Save hughrawlinson/f345e381d387ca6bc0a3 to your computer and use it in GitHub Desktop.
Save hughrawlinson/f345e381d387ca6bc0a3 to your computer and use it in GitHub Desktop.
//setup
var i = 0;
function log(a){
console.log(a);
}
// read string literals as "string", and = and === as "is"
//haiku starts here
while(i<3){
s = "i like javascript ";if(i===1)s+=" a lot";
log(s);i++;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment