Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The getState()
method of the NavigationHistoryEntry
interface returns a clone of the developer-supplied state associated with this history entry.