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.
To learn more, see
Intl.PluralRules at MDN.
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
Specifications
- ECMAScript Internationalization API Specification (#pluralrules-objects), from TC39 (Ecma International).