112k views
0 votes
Which of the following statements goes back one step in the URL history?

Question 6 options:

history.length = -1;

history.go(1);

history.back();

history.go("back");

User Ztan
by
8.1k points

1 Answer

1 vote

Answer:

history.back();

Step-by-step explanation:

history. back() method is used to go back 1 step in URL history .You can also understand this like suppose you searched you tube on google then all the searches matching you tube will appear on the search page then you entered the you tube site. Then to go back on the search page you clicked on go back button in your browser which somewhere inside used history. back() to go to previous page.

User Aaron Sherman
by
8.2k points

No related questions found