Intl.PluralRules
Browser support
Full support
Browser support
Full support
Available in Chrome from version 63 Chrome
Available in Edge from version 18 Edge
Available in Firefox from version 58 Firefox
Available in Opera from version 50 Opera
Available in Safari from version 13 Safari
Available in Chrome Android from version 63 Chrome Android
Available in Firefox for Android from version 58 Firefox for Android
Available in Opera Android from version 46 Opera Android
Available in Safari on iOS from version 13 Safari on iOS
Available in Samsung Internet from version 8.0 Samsung Internet
Available in WebView Android from version 63 WebView Android
Available in WebView on iOS from version 13 WebView on iOS
Available in Deno from version 1.8 Deno
Available in Node.js from version 10.0.0 Node.js
Input
nl-NL
Output
cardinal
{
value: 1,
type: "cardinal"
}
one
{
value: 2,
type: "cardinal"
}
other
{
value: 20,
type: "cardinal"
}
other
localeMatcher
{
value: 1,
type: "cardinal",
localeMatcher: "best fit"
}
one
{
value: 2,
type: "cardinal",
localeMatcher: "lookup"
}
other