mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibJS: Add Object::has_property()
Like Object::has_own_property() but going down the prototype chain.
This commit is contained in:
committed by
Andreas Kling
parent
4cdd802927
commit
62671bea68
@@ -96,7 +96,9 @@ public:
|
||||
void set_prototype(Object*);
|
||||
bool has_prototype(const Object* prototype) const;
|
||||
|
||||
bool has_property(const FlyString& property_name) const;
|
||||
bool has_own_property(const FlyString& property_name) const;
|
||||
|
||||
enum class PreferredType {
|
||||
Default,
|
||||
String,
|
||||
|
||||
Reference in New Issue
Block a user