mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +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
Notes:
sideshowbarker
2024-07-19 07:53:25 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/0d7a1c31575 Pull-request: https://github.com/SerenityOS/serenity/pull/1650
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
Reference in a new issue