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