title: The .replace() method does change the string in place
body: <p>I simply try to use the <code>.replace()</code> method. And it does not work.</p>
  
  <p>HTML:    </p>
  
  <pre><code>&lt;div class="try"&gt; &lt;/div&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>var valr='r';
  valr.replace('r', 't');
  $('.try').prepend('&lt;div&gt; ' + valr + '&lt;/div&gt;');
  </code></pre>
  
  <p>Result: I get 'r', while I would like to get 't'</p>
  
  <p>Any idea on why it doesn't work?</p>