0

What is the difference between SetInterval and setTimeout in javascript ?

I need more explanation on both

4th Dec 2019, 9:03 AM
Adebiyi Muiz
2 Antworten
+ 8
setInterval triggers the callback continuously (multiple times) after a set interval, while setTimeout only triggers once.
4th Dec 2019, 9:25 AM
Valen.H. ~
Valen.H. ~ - avatar
0
Thanks
5th Dec 2019, 2:56 PM
Adebiyi Muiz