mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
Fix toFixed test to invoke toString() properly
This commit is contained in:
parent
7e87c73912
commit
73c2d51734
@ -15,5 +15,5 @@ info: >
|
||||
---*/
|
||||
|
||||
// Test from a note in the specification
|
||||
assert.sameValue((1000000000000000128).toString(0), "1000000000000000100");
|
||||
assert.sameValue((1000000000000000128).toString(), "1000000000000000100");
|
||||
assert.sameValue((1000000000000000128).toFixed(0), "1000000000000000128");
|
||||
|
Loading…
x
Reference in New Issue
Block a user