Dietmar 'Ingrid' Meier typed:
Quote:
RTfineM
,---[ Netscape Core JavaScript Reference 1.5 ]---
| NaN is always unequal to any other number, including NaN itself;
| you cannot check for the not-a-number value by comparing to
| Number.NaN. Use the isNaN function instead. |
Oh, da fe lte noch was:
,-----[ ECMA 262 3rd Ed., 11.9.3 ]-----
Quote:
The comparison x == y, where x and y are values, produces true or false.
Such a comparison is performed as follows:
[...]
5. If x is NaN, return false.
6. If y is NaN, return false.
[...] |
ciao, dhgm