title: JavaScript line break issue
body: <p>In this snippet, when <code>'FirstText'</code> is written, then rest of first line is skipped. Then <code>'SecText'</code> is written on the 2nd line:</p>
  
  <pre><code>&lt;pre&gt;
   &lt;script&gt;
    function text(){
    document.write("FirstText \n SecText");
    }
    text();
   &lt;/script&gt;
  &lt;/pre&gt;
  </code></pre>
  
  <p>But when I use <code>setInterval()</code> on this function, words are written next to each other (lines are not skipped).  </p>
  
  <p>Any suggestions?</p>