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