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