Andreas Kling
f6d57c82f6
LibJS: Pass prototype to Function constructors
2020-04-18 10:28:22 +02:00
Andreas Kling
cf702a13b9
LibJS: Pass prototype to NumberObject constructor
2020-04-18 10:28:22 +02:00
Stephan Unverwerth
bbd592cb6c
LibJS: Tweak FunctionPrototype::to_string and constructors
...
The output of FunctionPrototype::to_string is now more in line
with the output in Firefox. The builtin constructors have been
extended to include their function name in the output.
2020-04-13 01:14:21 +02:00
Linus Groh
97de93eed1
LibJS: Add js_negative_infinity()
...
Value(-js_infinity().as_double()) is kind of awkward.
2020-04-12 14:39:38 +02:00
Linus Groh
5ecc7e6a1c
LibJS: Add Number.isSafeInteger()
2020-04-07 21:28:43 +02:00
Linus Groh
b7032b4972
LibJS: Add Number constants
2020-04-07 21:28:43 +02:00
Linus Groh
f631f6a2e6
LibJS: Add Number()
2020-04-07 17:25:50 +02:00