1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:17:44 +00:00

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
parent 214d5e3e83
commit 719137418d
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.