events: make .listeners() return a copy
Make EventEmitter.listeners(event) return a copy of the listeners array instead of the array itself. Fixes #3442.
parent
f6923470
Please register or sign in to comment
Make EventEmitter.listeners(event) return a copy of the listeners array instead of the array itself. Fixes #3442.