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