clearTimeout
clearTimeout(timeoutID: number
): void
Cancels a timeout previously established by calling setTimeout().
Parameters
timeoutID:
number
The identifier of the timeout you want to cancel. This ID is returned by the corresponding call to setTimeout().
Returns
type:
void