Yet another post that underestimates the importance on NaN, it isn't 'WTF' at all if you understand its design. Sure, the naming in ES makes it a bit silly since NaN is a number, but it is something you only have to see once to understand.<p>Don't mess with IEEE 754, it is almost universally adopted for binary floating-point for very good reasons.