Javascript

Topic: JS Window

What is the difference of "setTimeout" function and setInterval functions in Javascript

setTimeout is only execute the function after the defined time in milleseconds, its execute only one time.setInterval, will call the function in each time interval.

Browse random answers: