The History
interface doesn't inherit any property.
length
Read only-
Returns an
Integer
representing the number of elements in the session history, including the currently loaded page. For example, for a page loaded in a new tab this property returns1
. scrollRestoration
-
Allows web applications to explicitly set default scroll restoration behavior on history navigation. This property can be either
auto
ormanual
. state
Read only-
Returns an
any
value representing the state at the top of the history stack. This is a way to look at the state without having to wait for apopstate
event.