I just caught up in a confusion.
if suppose I implement addEventListener() as a global function (unlike as a method of some specific node like node.addEventListener() ) then does it act just like a usual global function or something goes under the hood while executing the code ending up becoming a method of some specific node
Note: DOM level 2, which defined the addEVentListener, stipulates that handler gets registered to the node. so which node is it registered to; window object is not a node
 
     
    