Andreas Kling
fca08bd000
LibJS: Move builtin prototypes to the global object
...
This moves us towards being able to run JavaScript in different global
objects without allocating a separate GC heap.
2020-04-18 13:24:45 +02:00
Andreas Kling
f6d57c82f6
LibJS: Pass prototype to Function constructors
2020-04-18 10:28:22 +02:00
Andreas Kling
2a15323029
LibJS: Pass prototype to BooleanObject 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
40ac94995d
LibJS: Reformat BooleanConstructor.{cpp,h}
2020-04-07 17:25:50 +02:00
Jack Karamanian
edae926cb0
LibJS: Add Boolean constructor object
2020-04-07 08:41:25 +02:00