mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +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
|
@ -135,6 +135,7 @@ public:
|
|||
virtual bool prevent_extensions();
|
||||
|
||||
bool set_integrity_level(IntegrityLevel);
|
||||
bool test_integrity_level(IntegrityLevel);
|
||||
|
||||
virtual Value value_of() const { return Value(const_cast<Object*>(this)); }
|
||||
virtual Value ordinary_to_primitive(Value::PreferredType preferred_type) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue