Settings

Theme

Codecademy's Joke

9 points by nurik 14 years ago · 3 comments · 1 min read


In an introduction to an objects course the team of Codecademy placed a javascript joke. I am not a member of the team of Codecademy but found it pretty funny. Here is their joke:

"We at Codecademy love to joke around. Obviously different things make different people laugh. This first 'joke' is super geeky because it involves coding! And it'll only be funny if you knew the TV show 'Batman'. But we loved it and hope you do too! Copy this code into the scratch pad and run the code!

Array(16).join( 'hero'-1) + "Batman";

lao 14 years ago

more like:

    Array(16).join("parents" - 2) + "Batman"
dangrossman 14 years ago

If you know that a string minus a number results in NaN, you don't need to run the code to get the joke ;)

ABS 14 years ago

watch WAT, it's awesome and includes the same joke :-)

https://www.destroyallsoftware.com/talks/wat

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection