Examveda
Examveda

The setTimeout() belongs to which object?

A. Element

B. Window

C. Location

D. None of the mentioned

Answer: Option B

Solution(By Examveda Team)

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

Join The Discussion

Related Questions on Document Object Model and Event Handling