Array.toLocaleString() (Method)

Returns a string primitive version of the array taking the present locale into account during the translation.

Availability:

ECMAScript edition - 3
JavaScript - 1.5
JScript - 5.5
Internet Explorer - 5.5
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myArray.toLocaleString()

The locale context supplies some special conversion rules for strings. Depending on the locale, this might include special characters or a means of using double byte characters. It may also affect the direction of the text for certain Asian locales for example.

Warnings:

Cross-references:

ECMA 262 edition 3 - section - 15.4.4.3