Difference
between "setTimeout" function and setInterval functions in
Javascript
-
S.No
SetTimeout function SetInterval function 1 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.
No comments:
Post a Comment