Re: [whatwg/dom] [Proposal] Add EventTarget.getEventListeners() (#412)

Assuming there is a link in the document, what is the value of `x` in this example?
```
document.body.addEventListener("click", (event) => console.log("I am listening"));
var x = document.getElementsByTagName("a")[0].getEventListeners("click");
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/412#issuecomment-1086749335
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/412/1086749335@github.com>

Received on Sunday, 3 April 2022 00:32:28 UTC