Intl.PluralRules
Widely available
The Intl.PluralRules
API creates a locale-aware object that tells you which of the language's pluralization rules apply based on a given number.
Compatibility
- Chrome 63 Released on 2017-12-06
- Chrome Android 63 Released on 2017-12-05
- Edge 18 Released on 2018-10-02
- Firefox 58 Released on 2018-01-23
- Firefox for Android 58 Released on 2018-01-22
- Safari 13 Released on 2019-09-19
- Safari on iOS 13 Released on 2019-09-19
MDN docs
Specifications
- ECMAScript Internationalization API Specification, from TC39 (Ecma International).
BCD data
- javascript.builtins.Intl.PluralRules
- javascript.builtins.Intl.PluralRules.PluralRules
- javascript.builtins.Intl.PluralRules.PluralRules.options_parameter
- javascript.builtins.Intl.PluralRules.PluralRules.options_parameter.options_roundingIncrement_parameter
- javascript.builtins.Intl.PluralRules.PluralRules.options_parameter.options_roundingMode_parameter
- javascript.builtins.Intl.PluralRules.PluralRules.options_parameter.options_roundingPriority_parameter
- javascript.builtins.Intl.PluralRules.PluralRules.options_parameter.options_trailingZeroDisplay_parameter
- javascript.builtins.Intl.PluralRules.resolvedOptions
- javascript.builtins.Intl.PluralRules.select
- javascript.builtins.Intl.PluralRules.selectRange
- javascript.builtins.Intl.PluralRules.supportedLocalesOf