O'Reilly logo
  • Ahmed Elgendy thinks this is interesting:

A: Exactly. When you call setTimeout, you are creating a timer and associating a handler with it. You can create as many timers as you like. The browser keeps track of associating each timer with its handler.


Cover of Head First JavaScript Programming


How to create several timers?