Skip to content

Instantly share code, notes, and snippets.

@hughrawlinson
Last active February 11, 2016 11:40
Show Gist options
  • Select an option

  • Save hughrawlinson/0a6400de7eaa35f157c9 to your computer and use it in GitHub Desktop.

Select an option

Save hughrawlinson/0a6400de7eaa35f157c9 to your computer and use it in GitHub Desktop.
An ode to Javascript
var JavascriptIs = ["wonderful","frustrating","charming","delightful"];
console.log("I love javascript");
// sometimes it does stupid shit
['10','10','10'].map(parseInt);
console.log("but all the time it's:");
setInterval(function(){
console.log(JavascriptIs[Math.round(Math.random()*JavascriptIs.length)]);
},1000);
@orliesaurus
Copy link
Copy Markdown

"it's: undefined"

great one

@robbyoconnor
Copy link
Copy Markdown

Niceeeee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment