mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-30 14:20:21 +00:00
LibJS/Temporal: Reorder Tables by Order of Magnitude
This is an editorial change in the Temporal spec. See:f2d5642
and07673d3
This commit is contained in:
parent
7aabda37d1
commit
1cd0b5ad8a
Notes:
sideshowbarker
2024-07-17 04:14:44 +09:00
Author: https://github.com/Epigenetic 🔰
Commit: 1cd0b5ad8a
Pull-request: https://github.com/SerenityOS/serenity/pull/16057
Reviewed-by: https://github.com/linusg ✅
3 changed files with 16 additions and 9 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue