diff options
author | Jack Karamanian <karamanian.jack@gmail.com> | 2020-04-06 22:51:16 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-07 08:41:25 +0200 |
commit | edae926cb01cee1a110ac52052346bcf3649d07c (patch) | |
tree | 9139622f572ade2c80fef2d073309cebdf10b0d4 /Libraries/LibJS/Interpreter.h | |
parent | 57bd194e5a11ae6bc8477eb976fb7d2c1e10ac35 (diff) | |
download | serenity-edae926cb01cee1a110ac52052346bcf3649d07c.zip |
LibJS: Add Boolean constructor object
Diffstat (limited to 'Libraries/LibJS/Interpreter.h')
-rw-r--r-- | Libraries/LibJS/Interpreter.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 }; |