doc: remove comma splice in events.md

PR-URL: https://github.com/nodejs/node/pull/42484
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
This commit is contained in:
Rich Trott 2022-03-27 15:33:06 -07:00 committed by GitHub
parent d143094793
commit fe95507403
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -830,7 +830,7 @@ events. Listeners installed using this symbol are called before the regular
`'error'` listeners are called.
Installing a listener using this symbol does not change the behavior once an
`'error'` event is emitted, therefore the process will still crash if no
`'error'` event is emitted. Therefore, the process will still crash if no
regular `'error'` listener is installed.
## `events.getEventListeners(emitterOrTarget, eventName)`