Intl.Collator.prototype

Did you know that you can read content offline by using one of these tools? If you would like to read offline MDN content in another format, let us know by commenting on Bug 665750.

Dash App

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.
Properties inherited from Object:

Methods

resolvedOptions
Returns a new object with properties reflecting the locale and collation options computed during initialization of the object.

See also

Tags (3)