javascript build string with new line in code code example Example: new line with javascript write res.write("\n");