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