"An obvious drawback to this approach should be apparent. What
happens to preexisting handlers? You guessed it. They would be
overwritten. As you can well imagine, managing multiple handlers
has followed in the footsteps of the Java programming language and
adopted the Event Listener Model. Instead of assigning a function
to the event property, we add it as a listener."