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 BethGriggs committed May 16, 2022
1 parent 9eb8bf1 commit 839824a
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 @@ -812,7 +812,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 839824a

Please sign in to comment.