1setInterval(function(){
2 console.log("Oooo Yeaaa!");
3}, 2000);//run this thang every 2 seconds
1function func(){
2 console.log("Ran")
3}
4setInterval(func,1000)//Runs the "func" function every second
1setInterval(function(){
2 console.log("Hello");
3 console.log("World");
4}, 2000); //repeat every 2s