Rate this page:

clearInterval

Copy URL
clearInterval(intervalID: 

number

):

void

Cancels a timed, repeating action which is previously established by a call to setInterval().

Parameters

  • intervalID:

    number

    The identifier of the repeated action you want to cancel. This ID is returned by the corresponding call to setInterval().

Returns

  • type:

    void