What is the difference between the two :
location.replace(url)
and
location.href = url
I read that the first method stimulates HTTP redirect
and the second one is similar, to following a web-page by clicking a link.
But I do not understand really,what does that mean.