Settings

Theme

Codecademy's Joke

9 points by nurik · 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";

3 threads
lao

more like:

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

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

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