Created
May 16, 2013 15:09
-
-
Save powerc9000/5592433 to your computer and use it in GitHub Desktop.
Showing off setInterval
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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