What do mean by History object in Javascript?

 Posted by Rajesh_Kumar on 2/20/2014 | Category: JavaScript Interview questions | Views: 1558 | Points: 40

The History object is used in Javascript to track history of the URLs which are visited by users.It is part of the window object and is accessed through the window.history property.

The history property has the return value as history object,which is an array of history items having details of the URLs visited from within that window.The window.history object can be written without the window prefix.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response