Skip to content

Commit 6b9bd51

Browse files
gowpenMylesBorins
authored andcommitted
doc: correct effects to affects
PR-URL: #16794 Fixes: #16793 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 6af9311 commit 6b9bd51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/events.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ for *all* `EventEmitter` instances, the `EventEmitter.defaultMaxListeners`
262262
property can be used.
263263

264264
Take caution when setting the `EventEmitter.defaultMaxListeners` because the
265-
change effects *all* `EventEmitter` instances, including those created before
265+
change affects *all* `EventEmitter` instances, including those created before
266266
the change is made. However, calling [`emitter.setMaxListeners(n)`][] still has
267267
precedence over `EventEmitter.defaultMaxListeners`.
268268

0 commit comments

Comments
 (0)