Pregunta de entrevista de Digg

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

Respuesta de la entrevista

Anónimo

5 feb 2016

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