Answers for "what is the use of setinterval in javascript"

104

javascript setinterval

setInterval(function(){ 
	console.log("Oooo Yeaaa!");
}, 2000);//run this thang every 2 seconds
Posted by: Guest on June-27-2019
1

setinterval javascript

setInterval(function(){
  console.log("Hello");
  console.log("World");
}, 2000); //repeat every 2s
Posted by: Guest on November-25-2020
0

set interval

this.interval = setInterval(() => {
    this.currentTime = this.currentTime + 10;
    console.log(this.currentTime);
}, 1000);
Posted by: Guest on November-02-2021

Code answers related to "what is the use of setinterval in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language