diff --git a/doc/api/events.md b/doc/api/events.md index 6b19287881..f600321b0d 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -285,6 +285,7 @@ The emitted warning can be inspected with [`process.on('warning')`][] and will have the additional `emitter`, `type` and `count` properties, referring to the event emitter instance, the event’s name and the number of attached listeners, respectively. +Its `name` property is set to `'MaxListenersExceededWarning'`. ### emitter.addListener(eventName, listener)