Summary
Represents the prototype object for the Intl.Collator constructor.
Description
See Collator for a description of Intl.Collator instances.
Intl.Collator instances inherit from Intl.Collator.prototype. Modifications to the prototype object are inherited by all Intl.Collator instances.
Properties
-
compare - Getter; returns a function that compares two strings according to the sort order of this Collator object.
-
constructor -
A reference to
Intl.Collator.
Methods
-
resolvedOptions - Returns a new object with properties reflecting the locale and collation options computed during initialization of the object.
Mozilla Developer Network