Object.toLocaleString() (Method)

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


ECMAScript edition - 3
JavaScript - 1.5
JScript - 5.5
Internet Explorer - 5.5
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myObject.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.



ECMA 262 edition 3 - section -