Node JS
fromSitePoint Forums | Web Development & Design Community
2 months agoIs the "this" value in a DOM event handler bound to any "EventTarget" rather than only to DOM elements?
MDN should clarify that 'this' refers to an EventTarget, not just DOM elements.
The specification indicates 'this' is bound to the EventTarget the listener is attached to.