Answer: It's an static property of History object which returns the number of URLs in the history list.In other words we can say that,The length property of the history object returns the number of elements in the history list.
Syntax:
history.length
For Example:
var count = history.length;
It will return number of pages or URLs count which are visited by users.
Asked In: Many Interviews |
Alert Moderator