title: Difference between window.location.assign(url) and window.open(url, '_self')
body: <p>What's the difference between <code>window.location.assign(url)</code> and <code>window.open(url, '_self')</code>?</p>
  
  <hr>
  
  <p>Related questions:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/4505798/difference-between-window-location-assign-and-window-location-replace">Difference between window.location.assign() and window.location.replace()</a></li>
  <li><a href="https://stackoverflow.com/questions/26605170/whats-the-difference-between-window-openurl-and-window-location-href-url-on">What&#39;s the difference between window.open(url) and window.location.href = url on Firefox?</a></li>
  </ul>