How to go 2 pages back or front in history using JavaScript?
Originally Published Here ๐!
To go back or front to a specific page in history, you can use the go() function in the global history object and pass the count as an argument to the function in JavaScript.
In our case, we want to go 2 pages back in th...
melvingeorge-me.hashnode.dev1 min read