The setTimeout() belongs to which object?

Lò Ngọc

New member
The setTimeout() belongs to which object?
A. Element
B. Window
C. Location
D. Event
 
Answer: b
Explanation: The setTimeout() method of the Window object schedules a function to run after a specified number of milliseconds elapses. setTimeout() and setInterval() are used for time manipulations in javascript.
 

Tìm kiếm

Back
Top