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