Intl.PluralRules.prototype

The Intl.PluralRules.prototype property represents the prototype object for the Intl.PluralRules constructor.

Property attributes of Intl.PluralRules.prototype
Writable no
Enumerable no
Configurable no

Description

See PluralRules for a description of Intl.PluralRules instances.

Intl.PluralRules instances inherit from Intl.PluralRules.prototype. Modifications to the prototype object are inherited by all Intl.PluralRules instances.

Properties

Intl.PluralRules.prototype.constructor
A reference to Intl.PluralRules.

Methods

Intl.PluralRules.prototype.resolvedOptions()
Returns a new object with properties reflecting the locale and collation options computed during initialization of the object.
Intl.PluralRules.prototype.select()
Returns a String indicating which plural rule to use for locale-aware formatting.

Specifications

Specification Status Comment
Intl Plural Rules Draft Draft Initial definition.

Browser compatibility

Update compatibility data on GitHub
DesktopMobileServer
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung InternetNode.js
prototypeChrome Full support 63Edge Full support YesFirefox Full support 58IE No support NoOpera Full support 50Safari No support NoWebView Android Full support 63Chrome Android Full support 63Firefox Android Full support 58Opera Android Full support 46Safari iOS No support NoSamsung Internet Android No support Nonodejs Full support 10.0.0

Legend

Full support  
Full support
No support  
No support

See also

Document Tags and Contributors

Contributors to this page: natevw, mdnwebdocs-bot, shvaikalesh, fscholz
Last updated by: natevw,