/

HTML / CSS / JavaScript Tutorial

JavaScript Array method: toString()

[this page | pdf | back links]

The toString() method (when applied to a JavaScript array) returns the string value of the array, with the elements being delimited (separated) by commas.

 

It has the following syntax (with no parameters):

 

array.toString()

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Arrays


Desktop view | Switch to Mobile