1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:38:10 +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

@ -143,6 +143,7 @@ public:
Object* date_prototype() { return m_date_prototype; }
Object* function_prototype() { return m_function_prototype; }
Object* number_prototype() { return m_number_prototype; }
Object* boolean_prototype() { return m_boolean_prototype; }
Exception* exception() { return m_exception; }
void clear_exception() { m_exception = nullptr; }
@ -181,6 +182,7 @@ private:
Object* m_date_prototype { nullptr };
Object* m_function_prototype { nullptr };
Object* m_number_prototype { nullptr };
Object* m_boolean_prototype { nullptr };
Exception* m_exception { nullptr };