created by Brian LeRoux & Andrew Lunny. sparodically uncurated by David Trejo.

2010 07 23 im not a number really

You've probably seen this one here before. NaN (Not a Number) suffers from a terrible case of self-deception.

typeof NaN //=> number

--- @3rdEden

Its still hilarious. Now, check this out:

3..toString(); // "3"

Explanation here.

(By way of the wtfjs twitter firehouse. Cheers: @devongovett, @getify, @mahemoff, @cramforce, @mathias!)

Fork me on GitHub