title: Newline \n problem in JS
body: <p>I am reading a file with <code>xmlHttp</code> object and splitting the <code>responseText</code> with newlines by split method. </p>
  
  <p>But "\n" character literally doesn't work. It acts like an error in my code and causes my code not even function. 
  Here is the line:  </p>
  
  <pre><code>var lines=myPlaylist.responseText.split("\n");
  </code></pre>
  
  <p>There is no error if I split the array myPlaylist with other characters.
  Just \n causes problem which I fail to understand.</p>
  
  <p>At first, I thought the error was due to white-space:nowrap since I execute my code on Chrome.
  Though I never used white-space in anywhere, I tried to set it to normal but it didn't work.
  Similarly, I tried my code on other browsers (Firefox, IE etc), it didn't work either. Looks like I have a problem with using \n. Is there any other way to use newline or error with my code?</p>
  
  <p>And by the way, error seems to be a syntax error since it does not just ignore \n character. Simply causes my code not to work</p>
  
  <p><strong>EDIT:</strong> An example <code>responseText</code></p>
  
  <pre><code>[playlist]
  
  File1=http://localhost:7000/Videos/Big%20Buck%20Bunny%20Trailer.ogv
  Title1=Bunny Trailer
  Length1=23
  
  File2=http://localhost:7000/Videos/Dizzy%20Cat%20Video.ogv
  Title2=Kedi 
  Length2=33
  
  NumberOfEntries=2
  
  Version=2
  </code></pre>