title: Difference between window.location.assign() and window.location.replace()
body: <p>What is the difference between <code>window.location.assign()</code> and <code>window.location.replace()</code>, when both redirect to a new page?</p>