Skip to content

Commit adf50d4

Browse files
sffcptomato
authored andcommitted
Add ~unset~ to allowed values
1 parent 2070032 commit adf50d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/abstractops.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1864,7 +1864,7 @@ <h1>
18641864
<emu-alg>
18651865
1. NOTE: The following steps read options and perform independent validation in alphabetical order.
18661866
1. Let _largestUnit_ be ? GetTemporalUnitValuedOption(_options_, *"largestUnit"*, ~unset~).
1867-
1. Perform ? ValidateTemporalUnitValue(_largestUnit_, _unitGroup_).
1867+
1. Perform ? ValidateTemporalUnitValue(_largestUnit_, _unitGroup_, « ~unset~ »).
18681868
1. If _largestUnit_ is ~unset~, then
18691869
1. Set _largestUnit_ to ~auto~.
18701870
1. If _disallowedUnits_ contains _largestUnit_, throw a *RangeError* exception.
@@ -1873,7 +1873,7 @@ <h1>
18731873
1. If _operation_ is ~since~, then
18741874
1. Set _roundingMode_ to NegateRoundingMode(_roundingMode_).
18751875
1. Let _smallestUnit_ be ? GetTemporalUnitValuedOption(_options_, *"smallestUnit"*, ~unset~).
1876-
1. Perform ? ValidateTemporalUnitValue(_smallestUnit_, _unitGroup_).
1876+
1. Perform ? ValidateTemporalUnitValue(_smallestUnit_, _unitGroup_, « ~unset~ »).
18771877
1. If _smallestUnit_ is ~unset~, then
18781878
1. Set _smallestUnit_ to _fallbackSmallestUnit_.
18791879
1. If _disallowedUnits_ contains _smallestUnit_, throw a *RangeError* exception.

0 commit comments

Comments
 (0)