JavaScript Array Methods

join()

The join() method joins array elements into a string.

It this example we have used " * " as a separator between the elements: