When writing JavaScript code to automatically move a user ba…
When writing JavaScript code to automatically move a user backward one page in their visited page history list for the current session, you can use either the window.history.back(); or the window.history.go(-1); command.