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