1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 15:45:07 +00:00

LibJS: Add Boolean constructor object

This commit is contained in:
Jack Karamanian 2020-04-06 22:51:16 -05:00 committed by Andreas Kling
parent 57bd194e5a
commit edae926cb0
16 changed files with 400 additions and 0 deletions

View file

@ -29,6 +29,7 @@
#include <LibJS/Heap/Heap.h>
#include <LibJS/Interpreter.h>
#include <LibJS/Runtime/ArrayConstructor.h>
#include <LibJS/Runtime/BooleanConstructor.h>
#include <LibJS/Runtime/ConsoleObject.h>
#include <LibJS/Runtime/DateConstructor.h>
#include <LibJS/Runtime/ErrorConstructor.h>
@ -58,6 +59,7 @@ GlobalObject::GlobalObject()
put("Math", heap().allocate<MathObject>());
put("Object", heap().allocate<ObjectConstructor>());
put("Array", heap().allocate<ArrayConstructor>());
put("Boolean", heap().allocate<BooleanConstructor>());
}
GlobalObject::~GlobalObject()