Reading on setInterval(and clearInterval) is at end of Ch 21 approx pp 505-509

(View source to see setInterval & clearInterval in action!)