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

LibJS: Update missing/superfluous commas in various spec comments

These are editorial changes in the Temporal spec.

See:
- 9586746
- 3c76ecc
- 96eab07
This commit is contained in:
Linus Groh 2022-06-14 23:32:13 +01:00
parent 30328d74d0
commit 9b3602d000
5 changed files with 11 additions and 11 deletions

View file

@ -707,7 +707,7 @@ ThrowCompletionOr<double> resolve_iso_month(GlobalObject& global_object, Object
if (number_part_integer < 1 || number_part_integer > 12)
return vm.throw_completion<RangeError>(global_object, ErrorType::TemporalInvalidMonthCode);
// 11. If month is not undefined, and month ≠ numberPart, then
// 11. If month is not undefined and month ≠ numberPart, then
if (!month.is_undefined() && month.as_double() != number_part_integer) {
// a. Throw a RangeError exception.
return vm.throw_completion<RangeError>(global_object, ErrorType::TemporalInvalidMonthCode);