Answers for "set time interval js"

104

javascript setinterval

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

js setinterval

function func(){
  console.log("Ran")
}
setInterval(func,1000)//Runs the "func" function every second
Posted by: Guest on March-07-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language