A language-specific formatted string representing the elements of the list.
MDN.
TypeError
if list
includes something other than the possible values.
Returns an Array of objects representing the different components that can be used to format a list of values in a locale-aware fashion.
An Array of components which contains the formatted parts from the list.
MDN.
TypeError
if list
includes something other than the possible values.
Returns a new object with properties reflecting the locale and style
formatting options computed during the construction of the current
Intl.ListFormat
object.
MDN.
Returns a string with a language-specific representation of the list.