how to break a string to go to next line in js code example Example: how to go to next line in javascript document.write("\n");