OLD | NEW |
| (Empty) |
1 PASS (0.0).toString(4) is "0" | |
2 PASS (-0.0).toString(4) is "0" | |
3 PASS (0.0).toString() is "0" | |
4 PASS (-0.0).toString() is "0" | |
5 PASS (1234.567).toString() is "1234.567" | |
6 PASS (1234.567).toString(0) threw exception RangeError: toString() radix argumen
t must be between 2 and 36. | |
7 PASS (1234.567).toString(null) threw exception RangeError: toString() radix argu
ment must be between 2 and 36. | |
8 PASS (1234.567).toString(false) threw exception RangeError: toString() radix arg
ument must be between 2 and 36. | |
9 PASS (1234.567).toString('foo') threw exception RangeError: toString() radix arg
ument must be between 2 and 36. | |
10 PASS (1234.567).toString(nan) threw exception RangeError: toString() radix argum
ent must be between 2 and 36. | |
11 PASS (1234.567).toString(1) threw exception RangeError: toString() radix argumen
t must be between 2 and 36. | |
12 PASS (1234.567).toString(true) threw exception RangeError: toString() radix argu
ment must be between 2 and 36. | |
13 PASS (1234.567).toString('1') threw exception RangeError: toString() radix argum
ent must be between 2 and 36. | |
14 PASS (1234.567).toString(2) is "10011010010.100100010010011011101001011110001101
0101" | |
15 PASS (1234.567).toString(3) is "1200201.120022100021001021021002202" | |
16 PASS (1234.567).toString(4) is "103102.21010212322113203111" | |
17 PASS (1234.567).toString(4.9) is "103102.21010212322113203111" | |
18 PASS (1234.567).toString(5) is "14414.240414141414141414" | |
19 PASS (1234.567).toString(6) is "5414.32224554134430233" | |
20 PASS (1234.567).toString(7) is "3412.365323661111653" | |
21 PASS (1234.567).toString(8) is "2322.44223351361524" | |
22 PASS (1234.567).toString(9) is "1621.50830703723265" | |
23 PASS (1234.567).toString(10) is "1234.567" | |
24 PASS (1234.567).toString(11) is "a22.62674a0a5885" | |
25 PASS (1234.567).toString(12) is "86a.697938b17701" | |
26 PASS (1234.567).toString(13) is "73c.74a91191a65" | |
27 PASS (1234.567).toString(14) is "642.7d1bc2caa757" | |
28 PASS (1234.567).toString(15) is "574.87895959596" | |
29 PASS (1234.567).toString(16) is "4d2.9126e978d5" | |
30 PASS (1234.567).toString(17) is "44a.9aeb6faa0da" | |
31 PASS (1234.567).toString(18) is "3ea.a3cd7102ac" | |
32 PASS (1234.567).toString(19) is "37i.aed102a04d" | |
33 PASS (1234.567).toString(20) is "31e.b6g" | |
34 PASS (1234.567).toString(21) is "2gg.bj0kf5cfe9" | |
35 PASS (1234.567).toString(22) is "2c2.ca9937cak" | |
36 PASS (1234.567).toString(23) is "27f.d0lfjb1a7c" | |
37 PASS (1234.567).toString(24) is "23a.dee4nj99j" | |
38 PASS (1234.567).toString(25) is "1o9.e49999999" | |
39 PASS (1234.567).toString(26) is "1lc.ej7fa4pkf" | |
40 PASS (1234.567).toString(27) is "1ij.f8971772k" | |
41 PASS (1234.567).toString(28) is "1g2.foelqia8e" | |
42 PASS (1234.567).toString(29) is "1dg.gcog9e05q" | |
43 PASS (1234.567).toString(30) is "1b4.h09" | |
44 PASS (1234.567).toString(31) is "18p.hhrfcj3t" | |
45 PASS (1234.567).toString(32) is "16i.i4jeiu6l" | |
46 PASS (1234.567).toString(33) is "14d.inf96rdvm" | |
47 PASS (1234.567).toString(34) is "12a.j9fchdtm" | |
48 PASS (1234.567).toString(35) is "109.jtk4d4d4e" | |
49 PASS (1234.567).toString(36) is "ya.kety9sifl" | |
50 PASS (1234.567).toString(37) threw exception RangeError: toString() radix argume
nt must be between 2 and 36. | |
51 PASS (1234.567).toString(-1) threw exception RangeError: toString() radix argume
nt must be between 2 and 36. | |
52 PASS (1234.567).toString(posInf) threw exception RangeError: toString() radix ar
gument must be between 2 and 36. | |
53 PASS (1234.567).toString(negInf) threw exception RangeError: toString() radix ar
gument must be between 2 and 36. | |
54 PASS posInf.toString() is "Infinity" | |
55 PASS negInf.toString() is "-Infinity" | |
56 PASS nan.toString() is "NaN" | |
57 PASS "" + -0.0 is "0" | |
58 PASS successfullyParsed is true | |
59 | |
60 TEST COMPLETE | |
61 | |
OLD | NEW |