mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 23:57:25 +00:00
LibJS: Set arguments_object_needed = false if scope_body == nullptr
For obvious reasons.
This commit is contained in:
@@ -186,6 +186,8 @@ ThrowCompletionOr<void> ECMAScriptFunctionObject::function_declaration_instantia
|
||||
return IterationDecision::Continue;
|
||||
});
|
||||
}
|
||||
} else {
|
||||
arguments_object_needed = false;
|
||||
}
|
||||
|
||||
Environment* environment;
|
||||
|
||||
Reference in New Issue
Block a user