mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 21:26:22 +00:00
LibJS: Pass prototype to BooleanObject constructor
This commit is contained in:
parent
298c606200
commit
2a15323029
Notes:
sideshowbarker
2024-07-19 07:31:38 +09:00
Author: https://github.com/awesomekling
Commit: 2a15323029
5 changed files with 15 additions and 8 deletions
|
@ -31,7 +31,9 @@
|
|||
namespace JS {
|
||||
class BooleanObject : public Object {
|
||||
public:
|
||||
explicit BooleanObject(bool);
|
||||
static BooleanObject* create(GlobalObject&, bool);
|
||||
|
||||
BooleanObject(bool, Object& prototype);
|
||||
virtual ~BooleanObject() override;
|
||||
|
||||
virtual Value value_of() const override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue