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
298c606200
LibJS: Pass prototype to StringObject 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
Andreas Kling
6f3ea75569
LibJS: Add String constructor :^)
2020-04-10 14:14:02 +02:00