JavaScript Tutorial in Hindi for Beginners [Part 67] - Time out and Time Interval in JavaScript

Tech Gun
Youtube
Related Topic
:- Javascript Web Development

 In this video i will talk about Time out and Time Interval in JavaScript. The window object allows execution of code at specified time intervals. These time intervals are called timing events. The two key methods to use with JavaScript are: setTimeout(function, milliseconds) Executes a function, after waiting a specified number of milliseconds. setInterval(function, milliseconds) Same as setTimeout(), but repeats the execution of the function continuously. The setTimeout() and setInterval() are both methods of the HTML DOM Window object. 

Comments