The func
is the function called when the timer fires. It is usually set in the Timer()
constructor; it can also be set via this property.
> timer2 = new Timer"Repeat fire!";
undefined
> 0 1;
undefined
Repeat fire!
Repeat fire!
> timer2.func ="A different message";
undefined
A different message
>
undefined