Why isNaN("") == false but isNaN("a") == true? For that matter, what is the nature of truth and numbers, really? #Philosophy #JavaScript
@BarnabasK isNaN tries to coerce the value to Number. Empty string gets coerced to 0.
-
-
@seanmonstar What is the sound of one hand clapping? Whatever it is, that sound is == NaNThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.