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 authored and Juan José Arboleda committed 2022-04-06 12:20:11 -05:00
1 parent c6bfb225cd
commit 7cf9febcb4
1 file changed
+1 -1
+1 -1
View File
@@ -828,7 +828,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)`