Last active
February 11, 2016 11:40
-
-
Save hughrawlinson/0a6400de7eaa35f157c9 to your computer and use it in GitHub Desktop.
An ode to Javascript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"it's: undefined"great one