I'm confused by the following question:

```
document.getElementById(thebutton).onclick = null; removes the onclick event from thebutton element.

```

**Options to choose: Yes or No.**

I chose "No" because I thought setting `null` to `onclick` just removed the event handler, not the event itself. However, the answer was "Yes"!

Did I misunderstand the question or the answer was wrong ?

PS: The question from "Developing in HTML5 with JavaScript and CSS3 Jump Start" course of Microsoft Virtual Academy.