!)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
Liked it! Share this Tutorial