history.back 2 pages code example
Example 1: js go back
history.back()
Example 2: js go to see history
history.go([delta])
delta Optional
The position in the history to which you want to move, relative to the current page. A negative value moves backwards, a positive value moves forwards