diff --git a/spec/locale.html b/spec/locale.html index a9516adc..4c67c752 100644 --- a/spec/locale.html +++ b/spec/locale.html @@ -662,10 +662,9 @@

1. If _loc_.[[Collation]] is not *undefined*, then 1. Return CreateArrayFromList(« _loc_.[[Collation]] »). - 1. Let _language_ be GetLocaleLanguage(_loc_.[[Locale]]). - 1. If _language_ is not *"und"*, then - 1. Let _match_ be LookupMatchingLocaleByPrefix(%Intl.Collator%.[[AvailableLocales]], « _loc_.[[Locale]] »). - 1. If _match_ is not *undefined*, let _foundLocale_ be _match_.[[locale]]; else let _foundLocale_ be DefaultLocale(). + 1. Let _match_ be LookupMatchingLocaleByPrefix(%Intl.Collator%.[[AvailableLocales]], « _loc_.[[Locale]] »). + 1. If _match_ is not *undefined*, then + 1. Let _foundLocale_ be _match_.[[locale]]. 1. Let _foundLocaleData_ be %Intl.Collator%.[[SortLocaleData]].[[<_foundLocale_>]]. 1. Let _list_ be a copy of _foundLocaleData_.[[co]]. 1. Assert: _list_[0] is *null*.