Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

Intl.Collator.prototype.resolvedOptions()

2 tags 1 category

The resolvedOptions() method of Intl.Collator instances returns a new object with properties reflecting the options computed during initialization of this Collator object.

Return value: A new object with properties reflecting the options computed during the initialization of this Collator object. The object has the following properties, in the order they are listed:

Return value: locale The BCP 47 language tag for the locale actually used, determined by the locale negotiation process. Only the co, kn, and kf Unicode extension keys, if requested and supported, may be included in the output. usage The value provided for this property in the options argument, with default filled in as needed. It is either “sort” or “search”. The default is “sort”. sensitivity The value provided for this property in the options argument, with default filled in as needed. It is either “base”, “accent”, “case”, or “variant”. The default is “variant” for usage “sort”; it’s locale dependent for usage “search”. ignorePunctuation The value provided for this property in the options argument, with default filled in as needed. It is a boolean.

Syntax example: resolvedOptions()

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…