mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 06:38:10 +00:00
LibJS: Implement Proxy.revocable()
This commit is contained in:
parent
e39dd65cf0
commit
9b35231453
5 changed files with 121 additions and 10 deletions
|
@ -39,6 +39,7 @@ public:
|
|||
virtual bool put(const PropertyName& name, Value value, Value receiver) override;
|
||||
virtual bool delete_property(const PropertyName& name) override;
|
||||
|
||||
bool is_revoked() const { return m_is_revoked; }
|
||||
void revoke() { m_is_revoked = true; }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue