What is the role of the window.history object in JavaScript?
Answers
Answered by
0
answer:-The JavaScript history object represents an array of URLs visited by the user. By using this object, you can load previous, forward or any particular page. The history object is the window property, so it can be accessed by: window.history.
Similar questions