Single Choice Easy

QWhat is the code snippet for twice going back in time?

ID: #5102 Javascript DOM & Event Handling MCQ 148 views
Question Info
#5102Q ID
EasyDifficulty
Javascript DOM & Event Handling MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A history(2);
  • B history(-2);
  • C history.go(-2);
  • D history.go(2);
Correct Answer

Explanation

A specified URL is loaded using the go() method from the history list.
The code line above travels back two times, much like using the Back button twice.

Share This Question

Challenge a friend or share with your study group.