diff --git a/doc/api/events.md b/doc/api/events.md index b27c12cf557b30..b23da5a523ea40 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -912,6 +912,7 @@ const { on, EventEmitter } = require('events'); // if concurrent execution is required. console.log(event); // prints ['bar'] [42] } + // Unreachable here })(); ```