I'm just confused. assuming that I am implementing addEventListener()
as a global function (as opposed to the method of a specific node, similar node.addEventListener()
), then it acts the same as a regular global function, or something goes under the hood, while the code ends the method some specific node
Note. The DOM 2 level defined by addEVentListener provides that the handler registers with node. so that node it is registered; The window object is not a node
source
share