Luke Wilde
c20669328d
LibJS: Handle +Infinity, -Infinity, +0 and -0 in modulo operator
...
Fixes 11 test262 cases.
2021-09-02 18:26:42 +01:00
Hendi
793e1bf28a
LibJS: Fix variable scoping issues in two tests
2021-07-06 00:15:37 +01:00
Linus Groh
299c3069c1
LibJS/Tests: Use eval() for toEvalTo(), not Function()
...
Since we have had eval() for a while now, we can finally use it here -
this allows us to get rid of the confusing return statements in tested
source code.
2021-06-18 20:35:23 +01:00
Idan Horowitz
064ed8279e
LibJS: Support deleting local variables with operator delete
...
To make this cleaner i also moved the logic into Reference::delete_.
2021-06-08 15:31:46 +01:00
Idan Horowitz
586f10b6e1
LibJS: Accept symbol property in the in
operator
...
This is used by discord.com and allowed by the specification:
https://tc39.es/ecma262/#sec-relational-operators-runtime-semantics-evaluation
2021-04-17 00:59:36 +02:00
Andreas Kling
16a0e7a66d
LibJS: Improve correctness of rounding and bitwise operations
...
Patch from Anonymous
2021-02-05 09:38:45 +01:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00