diff options
Diffstat (limited to 'doc/api/events.md')
-rw-r--r-- | doc/api/events.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/events.md b/doc/api/events.md index 8525bf5f24..74846995c2 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -648,7 +648,7 @@ emitter.on('log', () => console.log('log persistently')); // Will return a new Array with a single function bound by `.on()` above const newListeners = emitter.rawListeners('log'); -// logs "log persistently" twice +// Logs "log persistently" twice newListeners[0](); emitter.emit('log'); ``` |