Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript setinterval run immediately

foo()
setInterval(foo, delay)

// OR

function foo() {
   // ...
   setTimeout(foo, delay)
}
foo()
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript #setinterval #run #immediately
ADD COMMENT
Topic
Name
3+8 =