mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:07:35 +00:00
LibJS: Implement Object.isFrozen() and Object.isSealed()
This commit is contained in:
parent
9af07c7803
commit
f3264b0dbd
7 changed files with 105 additions and 0 deletions
|
@ -52,6 +52,8 @@ private:
|
|||
JS_DECLARE_NATIVE_FUNCTION(get_prototype_of);
|
||||
JS_DECLARE_NATIVE_FUNCTION(set_prototype_of);
|
||||
JS_DECLARE_NATIVE_FUNCTION(is_extensible);
|
||||
JS_DECLARE_NATIVE_FUNCTION(is_frozen);
|
||||
JS_DECLARE_NATIVE_FUNCTION(is_sealed);
|
||||
JS_DECLARE_NATIVE_FUNCTION(prevent_extensions);
|
||||
JS_DECLARE_NATIVE_FUNCTION(seal);
|
||||
JS_DECLARE_NATIVE_FUNCTION(freeze);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue