title: window.location.href in firefox
body: <p>Can you please tell me why <code>window.location.href</code> is not working on firefox?</p>
  
  <p>Code:</p>
  
  <pre><code>&lt;script&gt;
  
       function goToURL() {
             window.location.href('url');
       }
  
  &lt;/script&gt;
  </code></pre>
  
  <p>What can I use instead of <code>window.location.href</code> as an alternative?</p>