Jak ustawić onmouseover w JavaScript

<img onmouseover="bigImg(this)" src="smiley.gif" alt="Smiley">
  
  OR

object.addEventListener("mouseover", myScript);
Horrible coder