From e05d4f43b683d0f96105d17501bea213832e00a6 Mon Sep 17 00:00:00 2001 From: gowpen <33104741+gowpen@users.noreply.github.com> Date: Mon, 6 Nov 2017 03:15:04 -0700 Subject: [PATCH] doc: correct effects to affects PR-URL: https://github.com/nodejs/node/pull/16794 Fixes: https://github.com/nodejs/node/issues/16793 Reviewed-By: Vse Mozhet Byt Reviewed-By: Luigi Pinca Reviewed-By: Minwoo Jung Reviewed-By: Gireesh Punathil Reviewed-By: James M Snell --- doc/api/events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/events.md b/doc/api/events.md index adc97b306292e9..b08dc23d322e1a 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -268,7 +268,7 @@ property can be used. If this value is not a positive number, a `TypeError` will be thrown. Take caution when setting the `EventEmitter.defaultMaxListeners` because the -change effects *all* `EventEmitter` instances, including those created before +change affects *all* `EventEmitter` instances, including those created before the change is made. However, calling [`emitter.setMaxListeners(n)`][] still has precedence over `EventEmitter.defaultMaxListeners`.