mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibJS: Add Boolean constructor object
This commit is contained in:
parent
57bd194e5a
commit
edae926cb0
Notes:
sideshowbarker
2024-07-19 07:50:30 +09:00
Author: https://github.com/jack-karamanian
Commit: edae926cb0
Pull-request: https://github.com/SerenityOS/serenity/pull/1682
Reviewed-by: https://github.com/bgianfo
16 changed files with 400 additions and 0 deletions
|
@ -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 };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue