Skip to content

Commit 1a0ed26

Browse files
greysonpevanlucas
authored andcommitted
doc: fix events typo
This commit removes an extraneous word. PR-URL: #7329 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Brian White <[email protected]>
1 parent ac8e1bf commit 1a0ed26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/events.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ added for a particular event. This is a useful default that helps finding
497497
memory leaks. Obviously, not all events should be limited to just 10 listeners.
498498
The `emitter.setMaxListeners()` method allows the limit to be modified for this
499499
specific `EventEmitter` instance. The value can be set to `Infinity` (or `0`)
500-
for to indicate an unlimited number of listeners.
500+
to indicate an unlimited number of listeners.
501501

502502
Returns a reference to the `EventEmitter` so calls can be chained.
503503

0 commit comments

Comments
 (0)