What is setinterval

31st Dec 2016, 3:27 AM
Vipul Aggarwal
Vipul Aggarwal - avatar
2 Answers
+ 1
Take a look at this example I did so you can have a better understanding: https://code.sololearn.com/WtWo50WAHrTt/#js
10th Aug 2017, 10:47 PM
Juan F R G
Juan F R G - avatar
setinterval is a way of calling a function ever n-milliseconds. setInterval(funcName(),1000); calls funcName() every 1 second.
31st Dec 2016, 3:46 AM
Louis Milotte
Louis Milotte - avatar