concat array into string nodejs code example
Example 1: javascript join list of string
// array.join(separator)
var myArray ['foo', 'bar', 'baz'];
myarray.join(':');
// foo:bar:baz
Example 2: joining array of string
Array.join()
// array.join(separator)
var myArray ['foo', 'bar', 'baz'];
myarray.join(':');
// foo:bar:baz
Array.join()