DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
repeat a function javascript
setInterval(function(){ console.log("Hello"); console.log("World"); }, 2000); //repeat every 2s
Source by eloquentjavascript.net #
PREVIOUS
NEXT
Tagged:
#repeat
#function
#javascript
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit