Via this method, we can move backward to the previously visited URL in the current browser window. This method acts the same as the back button on the browser window.
Note: If there’s no previous visited URL in the history, the method won’t do anything.
History back() Method Syntax:
History back() Method Parameter:
The method does not take an argument.
History back() Method Return Value:
The method does not return a value.