Vidyalelo
JavaScript · Q24

Document Object Model And Event Handling

Programming · JavaScript · question 24

Q24

What is the datatype of the go() method’s parameter?

A.
String
B.
Integer
Answer
C.
Double
D.
Float

Answer: Option B

Solution

Answer: Option B
Solution:
The go() method takes an integer argument and can skip any number of pages forward and backward in the history list.