Skip to content

Commit e05d4f4

Browse files
gowpencjihrig
authored andcommitted
doc: correct effects to affects
PR-URL: #16794 Fixes: #16793 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent d7df4df commit e05d4f4

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
@@ -268,7 +268,7 @@ property can be used. If this value is not a positive number, a `TypeError`
268268
will be thrown.
269269

270270
Take caution when setting the `EventEmitter.defaultMaxListeners` because the
271-
change effects *all* `EventEmitter` instances, including those created before
271+
change affects *all* `EventEmitter` instances, including those created before
272272
the change is made. However, calling [`emitter.setMaxListeners(n)`][] still has
273273
precedence over `EventEmitter.defaultMaxListeners`.
274274

0 commit comments

Comments
 (0)