Skip to content
Snippets Groups Projects
Commit 29c23844 authored by Viktor's avatar Viktor Committed by Leo Balter
Browse files

Update return-values.js (Number#toExponential bug in Firefox) (#751)

Update test cases for Number#toExponential

Includes test cases addressing a known bug on Firefox 48.

Ref https://bugzilla.mozilla.org/show_bug.cgi?id=944846
parent 11d7dcc9
No related branches found
No related tags found
No related merge requests found
......@@ -51,3 +51,6 @@ assert.sameValue((0.9999).toExponential(17), "9.99900000000000011e-1");
assert.sameValue((0.9999).toExponential(18), "9.999000000000000110e-1");
assert.sameValue((0.9999).toExponential(19), "9.9990000000000001101e-1");
assert.sameValue((0.9999).toExponential(20), "9.99900000000000011013e-1");
assert.sameValue((25).toExponential(0), "3e+1");
assert.sameValue((12345).toExponential(3), "1.235e+4");
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment