title: window.open target _self v window.location.href?
body: <p>I need to redirect the user using JavaScript. Which is the preferred method?</p>
  
  <pre><code>window.open("webpage.htm", "_self");
  </code></pre>
  
  <p>or</p>
  
  <pre><code>window.location.href = "webpage.htm";
  </code></pre>