title: JavaScript Same Event on Multiple Methods
body: <p>window.addEventListener("mousemove", rotate);</p>
  
  <p>window.addEventListener("mousemove", getAngle);</p>
  
  <p>Here I am adding the same event to different methods. I found out that my getAngle method runs only once when I move the mouse but my rotate method is fine. Is the above code legal; does it add the same event to both methods?</p>