Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

repeat a function javascript

setInterval(function(){
  console.log("Hello");
  console.log("World");
}, 2000); //repeat every 2s
 
PREVIOUS NEXT
Tagged: #repeat #function #javascript
ADD COMMENT
Topic
Name
4+6 =