Skip to content

Instantly share code, notes, and snippets.

@powerc9000
Created May 16, 2013 15:09
Show Gist options
  • Save powerc9000/5592433 to your computer and use it in GitHub Desktop.
Save powerc9000/5592433 to your computer and use it in GitHub Desktop.
Showing off setInterval
setInterval(function(){
console.log("hello world");
}, 1000)
//Will print
//hello world
//*1000 MS later*
//hello world
//Will run until stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment