Answer: The
Previous is also an static property of History which contains the complete URL of the previous element in the History list.This functionality or the URL visited is the same as pressing the back button or menu.
In other words,we can say that,it returns the URL of the previous document in the history array.
Note:This property has no default value.
Syntax:
history.previous
Asked In: Many Interviews |
Alert Moderator