Skip to content

Commit

Permalink
Normative: Explicitly designate the (non-lexicographic) sort order for
Browse files Browse the repository at this point in the history
Strings in _pluralCategories_ List in
Intl.PluralRules.prototype.resolvedOptions()
  • Loading branch information
ben-allen committed Aug 21, 2024
1 parent a31417a commit 989e86d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/pluralrules.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ <h1>Intl.PluralRules.prototype.resolvedOptions ( )</h1>
1. Let _pr_ be the *this* value.
1. Perform ? RequireInternalSlot(_pr_, [[InitializedPluralRules]]).
1. Let _options_ be OrdinaryObjectCreate(%Object.prototype%).
1. Let _pluralCategories_ be a List of Strings containing all possible results of <emu-xref href="#sec-pluralruleselect">PluralRuleSelect</emu-xref> for the selected locale _pr_.[[Locale]].
1. Let _pluralCategories_ be a List of Strings containing all possible results of <emu-xref href="#sec-pluralruleselect">PluralRuleSelect</emu-xref> for the selected locale _pr_.[[Locale]], sorted according to the following order: *"zero"*, *"one"*, *"two"*, *"few"*, *"many"*, *"other"*.

1. For each row of <emu-xref href="#table-pluralrules-resolvedoptions-properties"></emu-xref>, except the header row, in table order, do
1. Let _p_ be the Property value of the current row.
1. If _p_ is *"pluralCategories"*, then
Expand Down

0 comments on commit 989e86d

Please sign in to comment.