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 stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #setinterval #run #immediately
ADD COMMENT
Topic
Name
1+9 =