This property returns the and of the number of addresses that are contained under "forward" and "back" two keys. I don't seem to use this property very often, and I don't use it very much.
The history object provides three ways to access the history list:
History.back () Loads the previous URL in the History list, which is equivalent to pressing the back button.
History.forward () loads the last URL (if any) in the history list, which is equivalent to pressing the "forward" button.
History.go () opens a URL in the history list. To use this method, you must specify a positive or negative number in parentheses. For example History.go (-2) is equivalent to pressing the "back" button two times.
Go () Usage: history.go (x); In the range of history to a specified address. If x < 0, back x address, if x > 0, Forward x address, if x = = 0, refresh the page that is now open. History.go (0) is equivalent to Location.reload (). This is better, I never know history.go can return a few layers of