Skip to content

Commit 8d86d23

Browse files
kosakMyles Borins
authored and
Myles Borins
committed
doc: typo: interal->internal.
Fixes a copy typo in the events.md docs. PR-URL: #5849 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 42bbdc9 commit 8d86d23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/events.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -402,14 +402,14 @@ myEmitter.on('event', callbackA);
402402
myEmitter.on('event', callbackB);
403403

404404
// callbackA removes listener callbackB but it will still be called.
405-
// Interal listener array at time of emit [callbackA, callbackB]
405+
// Internal listener array at time of emit [callbackA, callbackB]
406406
myEmitter.emit('event');
407407
// Prints:
408408
// A
409409
// B
410410

411411
// callbackB is now removed.
412-
// Interal listener array [callbackA]
412+
// Internal listener array [callbackA]
413413
myEmitter.emit('event');
414414
// Prints:
415415
// A

0 commit comments

Comments
 (0)