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

LibJS: Implement Object.defineProperties()

This commit is contained in:
Linus Groh 2021-04-10 18:39:11 +02:00 committed by Andreas Kling
parent 275da6fcc9
commit da8a35a79e
6 changed files with 120 additions and 0 deletions

View file

@ -46,6 +46,7 @@ private:
virtual bool has_constructor() const override { return true; }
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);
JS_DECLARE_NATIVE_FUNCTION(get_own_property_names);