LibJS: Change "as [the] argument[s]" to "with arguments" in comments

This is an editorial change in the ECMA-262 spec.

See: e671b96
This commit is contained in:
Linus Groh 2022-05-01 01:21:22 +02:00
commit 719137418d
Notes: sideshowbarker 2024-07-17 11:24:23 +09:00
2 changed files with 3 additions and 3 deletions

View file

@ -2573,7 +2573,7 @@ Completion AssignmentExpression::execute(Interpreter& interpreter, GlobalObject&
// 4. Let rval be ? GetValue(rref).
auto rhs_result = TRY(m_rhs->execute(interpreter, global_object)).release_value();
// 5. Perform ? DestructuringAssignmentEvaluation of assignmentPattern using rval as the argument.
// 5. Perform ? DestructuringAssignmentEvaluation of assignmentPattern with argument rval.
TRY(interpreter.vm().destructuring_assignment_evaluation(pattern, rhs_result, global_object));
// 6. Return rval.