Skip to content

Commit 23943ac

Browse files
Update spec/locale.html
Co-authored-by: Richard Gibson <[email protected]>
1 parent 1611929 commit 23943ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/locale.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,13 +720,13 @@ <h1>
720720
<h1>
721721
TimeZonesOfLocale (
722722
_loc_: an Intl.Locale,
723-
): an Array
723+
): an Array or *undefined*
724724
</h1>
725725
<dl class="header">
726726
</dl>
727727
<emu-alg>
728728
1. Let _region_ be GetLocaleRegion(_loc_.[[Locale]]).
729-
1. Assert: _region_ is not *undefined*.
729+
1. If _region_ is *undefined*, return *undefined*.
730730
1. Let _list_ be a List of unique canonical time zone identifiers, which must be String values indicating a canonical Zone name of the IANA Time Zone Database, of those in common use in _region_. The list is empty if no time zones are commonly used in _region_. The list is sorted according to lexicographic code unit order.
731731
1. Return CreateArrayFromList( _list_ ).
732732
</emu-alg>

0 commit comments

Comments
 (0)