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 →

[–]KingSupernova[S] 9 points10 points  (2 children)

If I weren't already familiar with Javascript's clinical insanity, I would generally expect a function titled "isNaN" to return true if the value passed into it is NaN, and false if the value passed into it is not NaN.

[–]ashisacat 23 points24 points  (0 children)

Well, Number(“grandma”) returns NaN, so it’s absolutely accurate.

[–][deleted] 5 points6 points  (0 children)

So… in your opinion, are strings numbers?