Digg interview question

What's the difference between js setInterval() and setTimeout()

Interview Answer

Anonymous

5 Feb 2016

'setTimeout' executes the function once on a time out. 'setInterval' executes the function repeatedly on and interval.