JavaScript Window location.reload()
JavaScript Window location.reload()
The reload() method is used for reloading the current document i.e, page. It does the same job as reload button in the browser.
Syntax:-
Its syntax is:- location.reload()