Skip to content

Commit

Permalink
doc: use serial comma in events docs
Browse files Browse the repository at this point in the history
Refs: #11321
Refs: #17384

PR-URL: #43113
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Reviewed-By: LiviaMedeiros <[email protected]>
  • Loading branch information
tniessen authored and targos committed Jul 31, 2022
1 parent 3fa2c3c commit cccc456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ The [`--trace-warnings`][] command-line flag can be used to display the
stack trace for such warnings.

The emitted warning can be inspected with [`process.on('warning')`][] and will
have the additional `emitter`, `type` and `count` properties, referring to
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'`.
Expand Down

0 comments on commit cccc456

Please sign in to comment.