mirror of
https://github.com/SerenityOS/serenity
synced 2026-04-30 19:37:21 +02: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