Professional Documents
Culture Documents
History
History
The History object is a read-only array of URL string that show where the user
has been recently.
Syntax: -
window.history.property
window.history.method
Property
• length – It returns the number of URLs in the history list.
Methods
• back ( ) – It loads the previous URL in the history list.