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.Plural.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 plurar rule to use for locale-aware formatting.

Specifications

Specification Status Comment
Intl Plural Rules Draft Draft Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support63 No58 No50 No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidIE mobileOpera AndroidiOS Safari
Basic support6363 No58 No50 No

See also

Document Tags and Contributors

 Contributors to this page: fscholz
 Last updated by: fscholz,