1 This test checks a few Number.toFixed cases, including 5307: Number.toFixed does not round 0.5 up.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS (0).toFixed(0) is '0'
7 PASS 0.49.toFixed(0) is '0'
8 PASS 0.5.toFixed(0) is '1'
9 PASS 0.51.toFixed(0) is '1'
10 PASS (-0.49).toFixed(0) is '-0'
11 PASS (-0.5).toFixed(0) is '-1'
12 PASS (-0.51).toFixed(0) is '-1'
13 PASS successfullyParsed is true