What is go Method of History Object in Javascript ?

The go() method loads a specific URL from the history list. history.go(number|URL)

number|URL parameter can either be a number which goes to the URL within the specific position (1 goes forward one page, -1 goes back one page), or a string. The string has to be a partial or full URL, and the function will go to the first URL that matches the string.



You May Interest

Javascript Removing Elements from Array

What is Event Capturing in Javascript ?

What is Console Object in Javascript ?

What are the Variable Naming Conventions in JavaScript ?

JavaScript How To Find The Average Of 10 Numbers Using A While Lo ...