Implement a function clickAnywhere that registers a handler to run whenever the user clicks anywhere on the document.
The handler should receive the MouseEvent as its only argument.
The function should also return a cleanup function that removes the event listener when called.
JavaScript Function
No test results yet
Click "Run" to execute tests