Lines Matching refs:isNaN
29 // isFinite(), isNaN(), isInteger(), isSafeInteger().
50 assertFalse(Number.isNaN(0));
51 assertFalse(Number.isNaN(Number.MIN_VALUE));
52 assertFalse(Number.isNaN(Number.MAX_VALUE));
53 assertFalse(Number.isNaN(Number.MIN_SAFE_INTEGER - 13));
54 assertFalse(Number.isNaN(Number.MAX_SAFE_INTEGER + 23));
55 assertTrue(Number.isNaN(Number.NaN));
56 assertFalse(Number.isNaN(Number.POSITIVE_INFINITY));
57 assertFalse(Number.isNaN(Number.NEGATIVE_INFINITY));
58 assertFalse(Number.isNaN(Number.EPSILON));
59 assertFalse(Number.isNaN(new Number(0)));
60 assertFalse(Number.isNaN(1/0));
61 assertFalse(Number.isNaN(-1/0));
62 assertFalse(Number.isNaN({}));
63 assertFalse(Number.isNaN([]));
64 assertFalse(Number.isNaN("s"));
65 assertFalse(Number.isNaN(null));
66 assertFalse(Number.isNaN(undefined));