// Get a reference to the timeout and call wwindow.clearTimeout() on
// that refrence.
let timeoutHandle = window.setTimeout(...);
window.clearTimeout(timeoutHandle);
The clearTimeout() method of the WindowOrWorkerGlobalScope mixin cancels a timeout previously established by calling setTimeout().