mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:58:11 +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;
|
return IterationDecision::Continue;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
arguments_object_needed = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Environment* environment;
|
Environment* environment;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue