Skip to content

Commit 20a04ac

Browse files
anbaptomato
authored andcommitted
Editorial: MergeLargestUnitOption is always called with an Object options value
`MergeLargestUnitOption` is no longer called with `options == undefined`.
1 parent 7dd90dc commit 20a04ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spec/abstractops.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ <h1>LargerOfTwoTemporalUnits ( _u1_, _u2_ )</h1>
505505
<emu-clause id="sec-temporal-mergelargestunitoption" type="abstract operation">
506506
<h1>
507507
MergeLargestUnitOption (
508-
_options_: an Object or *undefined*,
508+
_options_: an Object,
509509
_largestUnit_: a String,
510510
): either a normal completion containing an Object, or an abrupt completion
511511
</h1>
@@ -514,7 +514,6 @@ <h1>
514514
<dd>It returns a new plain Object with enumerable own String properties copied from the _options_ Object, and the `largestUnit` property set to _largestUnit_.</dd>
515515
</dl>
516516
<emu-alg>
517-
1. If _options_ is *undefined*, set _options_ to OrdinaryObjectCreate(*null*).
518517
1. Let _merged_ be OrdinaryObjectCreate(%Object.prototype%).
519518
1. Let _keys_ be ? EnumerableOwnPropertyNames(_options_, ~key~).
520519
1. For each element _nextKey_ of _keys_, do

0 commit comments

Comments
 (0)