JavaScript Array Join

JavaScript Array Join


JavaScript Array join() 
In this Tutorial, we will learn about JavaScript Array join() method with the help of following below:
The join() method converts all the elements of an array to strings and concatenates them, returning the resulting string.
It behaves like tostring()  , but we can specify a separator.
Example1- Using join() method convert array into string:
Output
Example2- Using join() method joining in between * symbol:
Output