What does the following code do?
const timer = setTimeout(() => { console.log("Hello"); }, 1000); clearTimeout(timer);
Prints nothing
Causes an error
Prints "Hello"
Prints "Hello" and then cancels it