1
Fork 0
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:
Linus Groh 2021-10-05 00:04:25 +01:00
parent b2bded390a
commit fcb355f193

View file

@ -186,6 +186,8 @@ ThrowCompletionOr<void> ECMAScriptFunctionObject::function_declaration_instantia
return IterationDecision::Continue;
});
}
} else {
arguments_object_needed = false;
}
Environment* environment;