mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:17:34 +00:00
LibJS: Add conversion to mathematical number in ToTemporalTimeRecord
This is an editorial change in the Temporal spec.
See: 9f37d10
This commit is contained in:
parent
7138f10c30
commit
98dc964649
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ ThrowCompletionOr<TemporalTimeLikeRecord> to_temporal_time_record(GlobalObject&
|
|||
// i. Assert: valueDesc is a data Property Descriptor.
|
||||
VERIFY(value_descriptor->is_data_descriptor());
|
||||
|
||||
// ii. Set the field of result whose name is field to valueDesc.[[Value]].
|
||||
// ii. Set the field of result whose name is field to ℝ(valueDesc.[[Value]]).
|
||||
result.*field = value_descriptor->value->as_double();
|
||||
}
|
||||
// e. Else if completeness is complete, then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue