Target number or numeric string.
Optional
locales: stringA string with a BCP 47 language tag, or an array of such strings. Corresponds to the locales parameter of the Intl.NumberFormat() constructor. In implementations without Intl.NumberFormat support, this parameter is ignored and the host's locale is usually used.
A string with a language-sensitive representation of the given number.
Returns the language-sensitive representation of a number as a string.