Which function is used to clear the timer value?
A
clearTimervalue()
B
clearTimeout()
C
clear()
D
flush(timer)
Correct Answer: clearTimeout()
The clearTimeout() method clears a timer set with the setTimeout() method. The ID value returned by setTimeout() is used as the parameter for the clearTimeout() method.