Lines Matching refs:isFinite
29 // isFinite(), isNaN(), isInteger(), isSafeInteger().
31 assertTrue(Number.isFinite(0));
32 assertTrue(Number.isFinite(Number.MIN_VALUE));
33 assertTrue(Number.isFinite(Number.MAX_VALUE));
34 assertTrue(Number.isFinite(Number.MIN_SAFE_INTEGER));
35 assertTrue(Number.isFinite(Number.MIN_SAFE_INTEGER - 13));
36 assertTrue(Number.isFinite(Number.MAX_SAFE_INTEGER));
37 assertTrue(Number.isFinite(Number.MAX_SAFE_INTEGER + 23));
38 assertFalse(Number.isFinite(Number.NaN));
39 assertFalse(Number.isFinite(Number.POSITIVE_INFINITY));
40 assertFalse(Number.isFinite(Number.NEGATIVE_INFINITY));
41 assertFalse(Number.isFinite(new Number(0)));
42 assertFalse(Number.isFinite(1/0));
43 assertFalse(Number.isFinite(-1/0));
44 assertFalse(Number.isFinite({}));
45 assertFalse(Number.isFinite([]));
46 assertFalse(Number.isFinite("s"));
47 assertFalse(Number.isFinite(null));
48 assertFalse(Number.isFinite(undefined));