The reload() method of the Location interface reloads the current URL, like the Refresh button.
reload()
This reload the page instantly
Example
window.location.reload()
Last updated 1 year ago