!)array.join ( ) - This method return you an array1 object that hold all the element of array into one string.
Finally the document. write print the list of element of the array after joining by accepting array1 object as argument.
Output of the program
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial