Skip to content

Commit 664f02d

Browse files
FrankYFTangptomato
authored andcommitted
Normative: Remove step 2 of GetOffsetNanosecondsFor
1 parent 8c85450 commit 664f02d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spec/timezone.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,6 @@ <h1>ToTemporalTimeZone ( _temporalTimeZoneLike_ )</h1>
585585
<h1>GetOffsetNanosecondsFor ( _timeZone_, _instant_ )</h1>
586586
<emu-alg>
587587
1. Let _getOffsetNanosecondsFor_ be ? GetMethod(_timeZone_, *"getOffsetNanosecondsFor"*).
588-
1. If _getOffsetNanosecondsFor_ is *undefined*, set _getOffsetNanosecondsFor_ to %Temporal.TimeZone.prototype.getOffsetNanosecondsFor%.
589588
1. Let _offsetNanoseconds_ be ? Call(_getOffsetNanosecondsFor_, _timeZone_, « _instant_ »).
590589
1. If Type(_offsetNanoseconds_) is not Number, throw a *TypeError* exception.
591590
1. If ! IsIntegralNumber(_offsetNanoseconds_) is *false*, throw a *RangeError* exception.

0 commit comments

Comments
 (0)