TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Codecademy's Joke

9 pointsby nurikover 13 years ago
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:<p>"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!<p>Array(16).join( 'hero'-1) + "Batman";

3 comments

laoover 13 years ago
more like:<p><pre><code> Array(16).join("parents" - 2) + "Batman"</code></pre>
dangrossmanover 13 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 ;)
ABSover 13 years ago
watch WAT, it's awesome and includes the same joke :-)<p><a href="https://www.destroyallsoftware.com/talks/wat" rel="nofollow">https://www.destroyallsoftware.com/talks/wat</a>