javascript insert line break in string code example Example: new line with javascript write res.write("\n");