title: replace '\n' in javascript
body: <p>I'm trying to do replace in JavaScript using:</p>
  
  <pre><code>r = "I\nam\nhere";
  s = r.replace("\n"," ");
  </code></pre>
  
  <p>But instead of giving me</p>
  
  <blockquote>
    <p>I am here</p>
  </blockquote>
  
  <p>as the value of <code>s</code>,
  It returns the same.</p>
  
  <p>Where's the problem??</p>