Skip to content

Commit 9f37d10

Browse files
anbaptomato
authored andcommitted
Editorial: Add conversion to mathematical number in ToTemporalTimeRecord
Object properties are Number values, so we have to convert to mathematical numbers explicitly.
1 parent c12d20d commit 9f37d10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/plaintime.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ <h1>
749749
1. Let _valueDesc_ be OrdinaryGetOwnProperty(_partial_, _propertyName_).
750750
1. If _valueDesc_ is not *undefined*, then
751751
1. Assert: _valueDesc_ is a data Property Descriptor.
752-
1. Set the field of _result_ whose name is _field_ to _valueDesc_.[[Value]].
752+
1. Set the field of _result_ whose name is _field_ to ℝ(_valueDesc_.[[Value]]).
753753
1. Else if _completeness_ is ~complete~, then
754754
1. Set the field of _result_ whose name is _field_ to 0.
755755
1. Return _result_.

0 commit comments

Comments
 (0)