How to use window.location.replace() function use in JavaScript?

Published --