Testing the isFinite function I see that NaN is an infinite number (even if it\'s not a number :-)).
isFinite
NaN
:-)
Finite means capable of being counted. It has to return true or false for isFinite. I think it makes more sense for NaN to be infinite.