The History.back()
method causes the browser to move back one page in the session history.
It has the same effect as calling history.go(-1)
. If there is no previous page, this method call does nothing.
This method is asynchronous. Add a listener for the popstate
event in order to determine when the navigation has completed.