What are possible differences between window.location.reload() and window.location = document.URL?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2405117/difference-between-window-location-href-window-location-href-and-window-location">Difference between window.location.href=window.location.href and window.location.reload()</a>  </p>
</blockquote>



<p>Is there any difference between these two lines of code, if yes, please enlighten me.</p>

<p>1.</p>

<pre><code>window.location.reload();
</code></pre>

<p>2.</p>

<pre><code>window.location = document.URL;
</code></pre>
