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