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