From c9ef04a1b2650418aa9a1a367c9935bb74a6d0fb Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Fri, 17 Jun 2016 10:25:28 -0700 Subject: [PATCH] doc: fix events typo This commit removes an extraneous word. PR-URL: https://github.com/nodejs/node/pull/7329 Reviewed-By: Colin Ihrig Reviewed-By: Brian White --- 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 464a0f61570113..6bbb2be9480609 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -430,7 +430,7 @@ added for a particular event. This is a useful default that helps finding memory leaks. Obviously, not all events should be limited to just 10 listeners. The `emitter.setMaxListeners()` method allows the limit to be modified for this specific `EventEmitter` instance. The value can be set to `Infinity` (or `0`) -for to indicate an unlimited number of listeners. +to indicate an unlimited number of listeners. Returns a reference to the `EventEmitter` so calls can be chained.