document.write new line inside script javascript code example Example: new line with javascript write res.write("\n");