LibJS: Update to-number-basic.js test

Uncomment lines that are now parsing correctly :^)
This commit is contained in:
Linus Groh 2020-04-05 14:18:30 +01:00 committed by Andreas Kling
parent 2f775a925b
commit 0d7a1c3157
Notes: sideshowbarker 2024-07-19 07:53:25 +09:00

View file

@ -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));