Intl.PluralRules
Widely available since 2022-03-19
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.
Learning resources on MDN
Browser support
- 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).