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