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
205ac0090d
LibJS: Pass prototype to Error constructors
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
2944039d6b
LibJS: Add Function() and Function.prototype
2020-04-04 15:58:49 +02:00