join() vs split() method in JavaScript

join()
Combines all elements of an array into a single string.