mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-24 10:18:59 +00:00
LibJS: Implement Object.defineProperties()
This commit is contained in:
parent
275da6fcc9
commit
da8a35a79e
Notes:
sideshowbarker
2024-07-18 20:35:02 +09:00
Author: https://github.com/linusg
Commit: da8a35a79e
Pull-request: https://github.com/SerenityOS/serenity/pull/6218
Reviewed-by: https://github.com/Lubrsi
6 changed files with 120 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue