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