From edae926cb01cee1a110ac52052346bcf3649d07c Mon Sep 17 00:00:00 2001 From: Jack Karamanian Date: Mon, 6 Apr 2020 22:51:16 -0500 Subject: LibJS: Add Boolean constructor object --- Libraries/LibJS/Interpreter.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Libraries/LibJS/Interpreter.h') diff --git a/Libraries/LibJS/Interpreter.h b/Libraries/LibJS/Interpreter.h index e0b28391e9..4d79948279 100644 --- a/Libraries/LibJS/Interpreter.h +++ b/Libraries/LibJS/Interpreter.h @@ -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 }; -- cgit v1.2.3