Difference between window.location and location.href
<p>I am confused as to the difference between <code>window.location</code> and <code>location.href</code>. Both appear to be acting in the same way.</p>

<p>What is the difference?</p>
