Skip to content

Commit 62ee645

Browse files
anbaryzokuken
authored andcommitted
GetDurationUnitOptions requires that prevStyle is a String value
1 parent 63a9202 commit 62ee645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.emu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ contributors: Ujjwal Sharma, Younies Mahmoud
342342
1. Let _style_ be ? GetOption(_options_, `"style"`, `"string"`, « `"long"`, `"short"`, `"narrow"`, `"digital"` », `"long"`).
343343
1. Set _durationFormat_.[[Style]] to _style_.
344344
1. Set _durationFormat_.[[DataLocale]] to _r_.[[dataLocale]].
345-
1. Let _prevStyle_ be *undefined*.
345+
1. Let _prevStyle_ be the empty String.
346346
1. For each row in <emu-xref href="#table-duration-components"></emu-xref>, except the header row, in table order, do
347347
1. Let _styleSlot_ be the Style Slot value.
348348
1. Let _displaySlot_ be the Display Slot value.

0 commit comments

Comments
 (0)