1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:17:45 +00:00

LibJS: Rename ObjectConstructor::{define_property_ => define_property}

As the non-standard helper define_property is now removed, this doesnt
clash with it anymore.
This commit is contained in:
Idan Horowitz 2021-07-06 19:40:49 +03:00 committed by Linus Groh
parent 148679d1b5
commit 0f91883b17
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ public:
private:
virtual bool has_constructor() const override { return true; }
JS_DECLARE_NATIVE_FUNCTION(define_property_);
JS_DECLARE_NATIVE_FUNCTION(define_property);
JS_DECLARE_NATIVE_FUNCTION(define_properties);
JS_DECLARE_NATIVE_FUNCTION(is);
JS_DECLARE_NATIVE_FUNCTION(get_own_property_descriptor);