mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 21:15:09 +00:00
LibJS: Set arguments_object_needed = false if scope_body == nullptr
For obvious reasons.
This commit is contained in:
parent
b2bded390a
commit
fcb355f193
1 changed files with 2 additions and 0 deletions
|
@ -186,6 +186,8 @@ ThrowCompletionOr<void> ECMAScriptFunctionObject::function_declaration_instantia
|
|||
return IterationDecision::Continue;
|
||||
});
|
||||
}
|
||||
} else {
|
||||
arguments_object_needed = false;
|
||||
}
|
||||
|
||||
Environment* environment;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue