mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 06:09:08 +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
Notes:
sideshowbarker
2024-07-18 21:19:52 +09:00
Author: https://github.com/awesomekling
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