From 52e84541fda1b069f1e96db70dcedbf151be7987 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: 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(-) (limited to 'doc/api/events.md') diff --git a/doc/api/events.md b/doc/api/events.md index adc97b3062..b08dc23d32 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`. -- cgit v1.2.3