What is the difference between “document.write(‘hello world\n’);” and “document.writeln(‘hello world’);”?
<p>What is the difference between <code>document.write(‘hello world\n’);</code> and <code>document.writeln(‘hello world’);</code>?</p>

<p><strong>Edit</strong></p>

<p>My question is what will be the difference of output.</p>
