DEV Community

Discussion on: TIL – addEventListener accepts functions and (!) objects

Collapse
 
garrettmills profile image
Garrett Mills

No. The EventHandler is instantiated once when the addEventListener method is called. So, the same EventHandler instance will be re-used for each trigger.