1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:47:46 +00:00

LibJS: Add parameter to delete_property since we need DeleteOrThrow

This commit is contained in:
davidot 2021-06-21 16:06:32 +02:00 committed by Linus Groh
parent 8a06a93ce2
commit 16b87b85e3
4 changed files with 16 additions and 9 deletions

View file

@ -99,7 +99,7 @@ public:
void define_properties(Value properties);
virtual bool delete_property(const PropertyName&);
virtual bool delete_property(PropertyName const&, bool force_throw_exception = false);
virtual bool is_array() const { return false; }
virtual bool is_function() const { return false; }