doc events: correct effects to affects
Corrects a use of effects
meant to be affects
.
Fixes: https://github.com/nodejs/node/issues/16793
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
doc events