javascript join arrays new line code example Example: array join javascript new line lines.join("\r\n");