mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
LibJS: Update to-number-basic.js test
Uncomment lines that are now parsing correctly :^)
This commit is contained in:
parent
2f775a925b
commit
0d7a1c3157
1 changed files with 2 additions and 3 deletions
|
@ -17,12 +17,11 @@ try {
|
|||
assert(-"42" === -42);
|
||||
assert(+42 === 42);
|
||||
assert(-42 === -42);
|
||||
assert(+1.23 === 1.23);
|
||||
assert(-1.23 === -1.23);
|
||||
// FIXME: returns NaN
|
||||
// assert(+"1.23" === 1.23)
|
||||
// assert(-"1.23" === -1.23)
|
||||
// FIXME: chokes on ASSERT
|
||||
// assert(+1.23 === 1.23);
|
||||
// assert(-1.23 === -1.23);
|
||||
|
||||
assert(isNaN(+undefined));
|
||||
assert(isNaN(-undefined));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue