addEventListener description mentions removeEventListener out of place

on https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener

it describes how addEventListener works

it mentions "The method addEventListener() works by adding a function, or an object that implements EventListener, to the list of event listeners for the specified event type on the EventTarget on which it’s called. If the function or object, is already in the list of event listeners for this target, they are not added a second time.

They do not need to be removed manually with removeEventListener()."

it’s this last line that bugs me - should this be changed to "…for this target, they are not added a second time and they do not need to be removed "

because otherwise it seems to be out of place

1 Like

I agree. At the moment it sounds like event listener don’t need to be removed in general.

Could you please create an issue on GitHub?

Thank you very much,
Michael

yes, i did, although i have to fork to make the correction myself, but submitting the issue doesn’t require elevated privileges, so i did that

1 Like