mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +00:00
LibJS: Add arguments.callee to our hack arguments object
arguments.callee refers to the currently executing function.
This commit is contained in:
parent
093331df06
commit
8062fc711c
3 changed files with 5 additions and 0 deletions
|
@ -58,6 +58,7 @@ struct ScopeFrame {
|
|||
struct CallFrame {
|
||||
const ASTNode* current_node;
|
||||
FlyString function_name;
|
||||
Value callee;
|
||||
Value this_value;
|
||||
Vector<Value> arguments;
|
||||
Array* arguments_object { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue