Search
 
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
Name
3+3 =