Skip to content

Commit edc223c

Browse files
anbaptomato
authored andcommitted
Editorial: Handle absent options in DifferenceZonedDateTime
1 parent 0bc5f9d commit edc223c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/zoneddatetime.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,6 +1271,8 @@ <h1>
12711271
</dd>
12721272
</dl>
12731273
<emu-alg>
1274+
1. If _options_ is not present, set _options_ to *undefined*.
1275+
1. Assert: Type(_options_) is Object or Undefined.
12741276
1. If _ns1_ is _ns2_, then
12751277
1. Return ! CreateDurationRecord(0, 0, 0, 0, 0, 0, 0, 0, 0, 0).
12761278
1. Let _startInstant_ be ! CreateTemporalInstant(_ns1_).

0 commit comments

Comments
 (0)