title: What's the difference between window.location= and window.location.replace()?
body: <p>Is there a difference between these two lines?</p>
  
  <pre><code>var url = "http://www.google.com/";
  window.location = url;
  window.location.replace(url);
  </code></pre>