Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

setinterval js

setInterval(function(){ 
	console.log("Hello World!");
}, 2000); //run this script every 2 seconds(specified in milliseconds)
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #setinterval #js
ADD COMMENT
Topic
Name
8+4 =