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
commit 1cd0b5ad8a
Notes: sideshowbarker 2024-07-17 04:14:44 +09:00
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.