The toString() function of array object returns a string representing the array and its elements. Use it for example to get string representation of array elements.
Syntax
This will produce following result