Lines Matching refs:parseInt
43 PASS isNaN(parseInt("Hello", 8)) is true
44 PASS isNaN(parseInt("FFF", 10)) is true
45 PASS isNaN(parseInt(".5", 10)) is true
48 PASS isNaN(parseInt()) is true
49 PASS isNaN(parseInt('')) is true
50 PASS isNaN(parseInt(' ')) is true
51 PASS isNaN(parseInt('a')) is true
52 PASS parseInt(1) is 1
53 PASS parseInt(1234567890123456) is 1234567890123456
54 PASS parseInt(1.2) is 1
55 PASS parseInt(' 2.3') is 2
56 PASS parseInt('0x10') is 16
57 PASS parseInt('11', 0) is 11
58 PASS parseInt('F', 16) is 15
59 PASS isNaN(parseInt('10', 40)) is true
60 PASS parseInt('3x') is 3
61 PASS parseInt('3 x') is 3
62 PASS isNaN(parseInt('Infinity')) is true
63 PASS parseInt("15") is 15
64 PASS parseInt("015") is 15
65 PASS parseInt("0xf") is 15
66 PASS parseInt("15", 0) is 15
67 PASS parseInt("15", 10) is 15
68 PASS parseInt("F", 16) is 15
69 PASS parseInt("17", 8) is 15
70 PASS parseInt("15.99", 10) is 15
71 PASS parseInt("FXX123", 16) is 15
72 PASS parseInt("1111", 2) is 15
73 PASS parseInt("15*3", 10) is 15
74 PASS parseInt("0x7", 10) is 0
75 PASS parseInt("1x7", 10) is 1