Monday, September 29, 2008

A number that's not equal to itself

All this time, I've been thinking NaN is not a number. What an idiot I've been.

In JavaScript:

   typeof NaN == 'number'   // true

And yet of course, NaN == NaN is false.

There you go. Amaze your friends.


  1. This comment has been removed by the author.

  2. Promo di SahabatQQ :
    *Bonus Rollingan 0.3% dibagikan setiap 5 hari sekali
    *Bonus Refferal 15% dibagikan seumur hidup secara otomatis
    Link alternatif

    Contach Info :
    WECHAT: Sahabat_QQ
    LINE : Official SahabatQQ
    WA : +6281210795428

    #agenbandarq #bandarq #pokeronline #domino99 #bandar66 #judionline
    #sahabatQQ #superaduq


Add a comment. Registration required because trolls.