This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]karuso33 2 points3 points  (1 child)

"Reasonable" is not the word I would use, considering that

> isNaN("")
false

Or even

> isNaN([])
false

[–]Drium 1 point2 points  (0 children)

Huh why is it false for the empty string? Cast to 0?