Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

setinterval vs settimeout

setTimeout allows us to run a function once after the interval of time.
setInterval allows us to run a function repeatedly, starting after the interval of time, then repeating continuously at that interval.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #setinterval #settimeout
ADD COMMENT
Topic
Name
9+3 =