Vidyalelo
JavaScript · Q6

Document Object Model And Event Handling

Programming · JavaScript · question 6

Q6

The setTimeout() belongs to which object?

A.
Element
B.
Window
Answer
C.
Location
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
Solution:
The setTimeout() method of the Window object schedules a function to run after a specified number of milliseconds elapses.