How to Stop the Execution window.clearTimeout

Click the first button alert "Hello" after waiting 3 seconds.

Click the second button to prevent the first function to execute. (You must click it before the 3 seconds are up.)