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