JavaScript Intl Collator resolvedOptions() Method Last Updated : 12 Jul, 2025 Summarize Comments Improve Suggest changes Share Like Article Like Report The Intl.Collator.prototype.resolvedOptions() method is an inbuilt method in JavaScript that is used to return a new object with properties reflecting the locale and collation options computed during the initialization of this Collator object.Syntax: collator.resolvedOptions() Parameters: This function does not accept any parameter. Return value: This method returns a new object with properties reflecting the locale and collation options computed during the initialization of the given Collator object. The below examples illustrate the in Intl.Collator.prototype.resolvedOptions() Method JavaScript: Example 1: javascript let vall = new Intl.Collator('de', { sensitivity: 'base' }) let geek = vall.resolvedOptions(); console.log(geek.locale); console.log(geek.usage); console.log(geek.sensitivity); console.log(geek.ignorePunctuation); console.log(geek.collation); console.log(geek.numeric); Output: "de" "sort" "base" false "default" false Example 2: javascript let geek = new Intl.Collator('de-DE'); let geek1 = new Intl.Collator('ar'); let geek2 = new Intl.Collator('hi'); let val1 = geek.resolvedOptions(); let val2 = geek1.resolvedOptions(); let val3 = geek2.resolvedOptions(); console.log(val1.sensitivity); console.log(val2.collation); console.log(val3.numeric); Output: "variant" "default" false Supported Browsers: The browsers supported by Intl.Collator.prototype.resolvedOptions() method are listed below: Google Chrome 24 and aboveFirefox 29 and aboveOpera 15 and aboveEdge 12 and aboveIE 11 and aboveSafari 10 and above Comment More infoAdvertise with us Next Article JavaScript Intl Collator() Constructor S SHUBHAMSINGH10 Follow Improve Article Tags : JavaScript Web Technologies JavaScript-Methods JavaScript-Intl Similar Reads JavaScript Intl ListFormat resolvedOptions() Method The Intl.ListFormat.prototype.resolvedOptions() method is an inbuilt method in JavaScript that returns a new object that has characteristics that correspond to the locale and style formatting choices that were determined during the creation of the existing ListFormat object Syntax: listFormat.resolv 1 min read JavaScript Intl Collator() Constructor JavaScript Intl.Collator() constructor is used to create an Intl.Collator object. This constructor can be called with or without the new keyword. Syntax: new Intl.Collator(loc, opt) Parameters: This constructor takes two parameters and both are optional. loc: This is a String or an array of Strings 1 min read Collator getInstance() method in Java with Example The getInstance() method of java.text.Collator class is used to get the new collator object having the current default locale. Syntax: public static Collator getInstance() Parameter: This method does not accept any parameter.Return Value: it provides the new collator object having the current defaul 2 min read Collator getInstance(Locale) method in Java with Example The getInstance(Locale) method of java.text.Collator class is used to get the new collator object having the desired locale. Syntax: public static Collator getInstance(Locale desiredLocale) Parameter: This method takes the desired locale for which collator object has to be created. Return Value: it 2 min read Collator getDecomposition() method in Java with Example The getDecomposition() method of java.text.Collator class is used to get the decomposition mode of this collator .Syntax: public int getDecomposition() Parameter: This method does not accept any parameter.Return Value: This method returns the decomposition mode of this collator.Below are the example 2 min read Collator getAvailableLocales() method in Java with Example The getAvailableLocales() method of java.text.Collator class is used to get the all available locales which come under the passed Locales instance during the initializing of Collator object.Syntax: public static Locale[] getAvailableLocales() Parameter: This method does not accept any parameter.Retu 2 min read Like