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