Course Content

  • 4.3 back()
  • 4.3 forward()
  • 4.3 go()
  • 4.3 history

Course Content


The history object is a property of the JavaScript window object that may be accessed via the window. history property. It is used to access the window object's session history. It has useful methods and properties that allow us to go back and forth through the session history of the window.

The history object is a new feature in the latest version of Unity and it’s available for all users. It is an easy way to keep track of changes made to an object over time. It can be used as a debugging tool or just to see how different objects have changed over time.

Explanation: The History object has three methods: back, forward, and backward ()

The JS history object holds an array of URLs that the user has visited. You can use many methods to load previous, forward, or any specific page using the history object. JavaScript history object property: length: It gives the number of historical URLs visited by the user during that session.

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
Apple App Store
598K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
15K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere