Question
a.
history(2);
b.
history(-2);
c.
history.go(-2);
d.
history.go(2);
Posted under JavaScript
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What is the code snippet to go back to a history twice?
Similar Questions
Discover Related MCQs
Q. If the window has child windows, how will the browsing histories be affected?
View solution
Q. The length property belongs to which of the following objects?
View solution
Q. What is the datatype of the go() method's parameter?
View solution
Q. What is the special feature of the modern web applications?
View solution
Q. The navigator property belongs to which of the following object?
View solution
Q. What is the vendor-neutral synonym for navigator?
View solution
Q. Which is the preferred testing nowadays for scripting?
View solution
Q. Which of the below properties can be used for browser sniffing?
View solution
Q. Where is the information of the userAgent property located?
View solution
Q. Each tab in the single web browser window is called as
View solution
Q. Nested documents in the HTML can be done using
View solution
Q. What is the distinction made by the Client-side JavaScript between windows, tabs, iframes, and frames ?
View solution
Q. What is the distinction made by JavaScript between windows, tabs, iframes, and frames ?
View solution
Q. A new web browser window can be opened using which method of the Window object ?
View solution
Q. What will happen if the first argument of open() is omitted?
View solution
Q. Which object serves as the global object at the top of the scope chain?
View solution
Q. Which is the property of a Window object that holids the name of the frame?
View solution
Q. When will the fourth argument to open() useful?
View solution
Q. The inner frame within a top-level window can be referred as
View solution
Q. The central object in a larger API is known as
View solution
Suggested Topics
Are you eager to expand your knowledge beyond JavaScript? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!