JavaScript: The Definitive Guide, Sixth Editio javaScript权威指南(第6版) pdf 文字版-文字版, javascript电子书, 和javascript 有关的电子书:

Array.toLocaleString()

Array.toLocaleString()


convert an array to a localized string Overrides Object.toLocaleString()

Synopsis

array.toLocaleString()

Returns

A localized string representation of array.

Throws

TypeError

If this method is invoked on an object that is not an Array.

Description

The toLocaleString()method of an array returns a localized string representation of an array. It does this by calling the toLocaleString() method of all of the array elements, then concatenating the resulting strings using a locale-specific separator character.

Array.unshift()

See Also

Array.toString() , Object.toLocaleString()

欢迎转载,转载请注明来自一手册:http://yishouce.com/book/1/28147.html
友情链接It题库(ittiku.com)| 版权归yishouce.com所有| 友链等可联系 admin#yishouce.com|粤ICP备16001685号-1