From 6b9bd51021dbb172c9ff5c773f066676ccad8811 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 9de9e13eabffba..9e6cd371bba506 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -262,7 +262,7 @@ for *all* `EventEmitter` instances, the `EventEmitter.defaultMaxListeners` property can be used. 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`.