Web features explorer

Intl.PluralRules

Widely available since 2022-03-19
Tags: javascript Groups: JavaScript > Internationalization

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