mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +00:00
LibJS: Let Object::delete_property() return a bool, not Value
Just like the various define_property functions, this should return a bool directly and let the caller deal with wrapping it in a Value, if necessary.
This commit is contained in:
parent
4788c94d34
commit
ec62783af9
6 changed files with 20 additions and 20 deletions
|
@ -57,7 +57,7 @@ public:
|
|||
virtual bool has_property(const PropertyName& name) const override;
|
||||
virtual Value get(const PropertyName& name, Value receiver) const override;
|
||||
virtual bool put(const PropertyName& name, Value value, Value receiver) override;
|
||||
virtual Value delete_property(const PropertyName& name) override;
|
||||
virtual bool delete_property(const PropertyName& name) override;
|
||||
|
||||
void revoke() { m_is_revoked = true; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue