Just a simple question...
Why this:
isNaN(true)
or this:
isNaN(false)
return false
?
I can understand that false
is evaluate to 0
and true
to 1
or something...
But is it not the purpose of isNaN(...)
to return false only if a variable or a value is "exactly" a number ?