JavaScript Intl ListFormat resolvedOptions() Method Last Updated : 24 May, 2023 Summarize Comments Improve Suggest changes Share Like Article Like Report 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.resolvedOptions() Parameters: This method does not accept any parameter. Return Value: This method returns an object with properties reflecting the locale and formatting options computed during the construction of the given ListFormat object. The below examples illustrate the Intl.ListFormat.prototype.resolvedOptions() method in JavaScript: Example 1: In this example, we will see the use of the Intl.ListFormat.prototype.resolvedOptions() method in JavaScript. javascript <script> const geeks = new Intl.ListFormat("de-DE", { style: "short" }); const result = geeks.resolvedOptions(); console.log(result.locale); console.log(result.style); console.log(result.type); </script> Output: "de-DE" "short" "conjunction" Example 2: In this example, we will see the use of the Intl.ListFormat.prototype.resolvedOptions() method in JavaScript. javascript <script> const geeks = new Intl.ListFormat("hi"); const result = geeks.resolvedOptions(); console.log(result.locale); console.log(result.style); console.log(result.type); console.log(result.collation); console.log(result.numeric); </script> Output: "hi" "long" "conjunction" undefined undefined Supported Browsers: The browsers supported by Intl.ListFormat.prototype.resolvedOptions() method are listed below: Google Chrome 72 and aboveEdge 79 and aboveFirefox 78 and aboveOpera 60 and aboveSafari 14.1 and above Comment More infoAdvertise with us Next Article ChoiceFormat setChoices() method in Java with Examples S SHUBHAMSINGH10 Follow Improve Article Tags : JavaScript Web Technologies JavaScript-Methods JavaScript-Intl Similar Reads JavaScript Intl Collator resolvedOptions() Method 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 func 1 min read JavaScript Intl ListFormat() Constructor JavaScript Intl.ListFormat() Constructor is used for creating Intl.ListFormat object. This constructor is created using the new keyword. If we create the constructor without the new keyword it will give a TypeError. Syntax: new Intl.ListFormat(loc, opt) Parameters: It has two parameters both are opt 2 min read ChoiceFormat setChoices() method in Java with Examples The setChoices() method of java.text.ChoiceFormat class is used to set the new Choice item with a defined limit and format in Choiceformat object. Syntax: public void setChoices(double[] limits, String[] formats) Parameter: This method takes the following parameters: limits: which is the array of do 2 min read Collections checkedList() method in Java with Examples The checkedList() method of Collections class is present inside java.util package is used to return a dynamically typesafe view of the specified list. The key thing to note here is that the returned list will be serializable if the specified list is serializable. Since null is considered to be a val 3 min read Java AWT | Choice Class Choice class is part of Java Abstract Window Toolkit(AWT). The Choice class presents a pop- up menu for the user, the user may select an item from the popup menu. The selected item appears on the top. The Choice class inherits the Component. Constructor for the Choice class Choice() : creates an new 5 min read AbstractSequentialList get() method in Java with Examples The get() method of AbstractSequentialList is used to fetch or retrieve an element at a specific index from a AbstractSequentialList. Syntax: AbstractSequentialList.get(int index) Parameters: The parameter index is of integer data type that specifies the position or index of the element to be fetche 2 min read Like