title: Difference between document.URL and location.href
body: <p>I know that <code>document.URL</code> can not be set, while <code>location.href</code> can.</p>
  
  <p>But the Document indicates:</p>
  
  <blockquote>
    <p>URL is a replacement for the DOM Level 0 <code>location.href</code> property.</p>
  </blockquote>
  
  <p>So when would we use <code>document.URL</code>?</p>