JavaScript Tutorial/Array/toString

Материал из Web эксперт
Версия от 11:25, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

Array.toString()

The toString() method returns one string that contains all the elements in the array separated with commas.

The toString() method is used to convert an array to a string when the array is used in string context.

The following example forces JavaScript to Use an Array"s toString() Method



   <source lang="javascript">

<html>

   <script language="JavaScript">
   
   </script>

</html></source>