cara mengatur onmouseover di javascript

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

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