javascript join array with spaces code example Example: javascript array to string without commas arr.join("")