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