mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
LibJS: Support deleting local variables with operator delete
To make this cleaner i also moved the logic into Reference::delete_.
This commit is contained in:
parent
af58779def
commit
064ed8279e
14 changed files with 82 additions and 10 deletions
|
@ -67,6 +67,7 @@ public:
|
|||
|
||||
void put(GlobalObject&, Value);
|
||||
Value get(GlobalObject&);
|
||||
bool delete_(GlobalObject&);
|
||||
|
||||
private:
|
||||
void throw_reference_error(GlobalObject&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue