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

LibJS/Temporal: Reorder Tables by Order of Magnitude

This is an editorial change in the Temporal spec.
See: f2d5642 and
07673d3
This commit is contained in:
Jonah 2022-11-13 15:10:09 -06:00 committed by Linus Groh
parent 7aabda37d1
commit 1cd0b5ad8a
3 changed files with 16 additions and 9 deletions

View file

@ -347,7 +347,7 @@ ThrowCompletionOr<TemporalTimeLikeRecord> to_temporal_time_record(VM& vm, Object
// 3. Let result be a new TemporalTimeLike Record with each field set to undefined.
auto result = TemporalTimeLikeRecord {};
// 4. For each row of Table 4, except the header row, in table order, do
// 4. For each row of Table 4, except the header row, do
for (auto& [field, property_name] : temporal_time_like_record_fields<TemporalTimeLikeRecord, Optional<double>>(vm)) {
// a. Let field be the Field Name value of the current row.
// b. Let propertyName be the Property Name value of the current row.