You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
It makes a lot of headaches in many edge cases to expose a reference to the listeners array.
It would be better if emitter.listeners('ev') returned a copy of the array, not the actual thing. Then we could change it, without worrying about consistency guarantees or breaking userland code.