Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Which function is used to clear the timer value?

  2. A.

     clearTimervalue()

    B.

     clearTimeout()

    C.

     clear()

    D.

     flush(timer)

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    The clearTimeout(setTimeout_variable) call clears any timer set by the setTimeout() functions.


Be The First To Comment