mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: fix actual result of example is different in events
Refs: https://github.com/nodejs/node/pull/50428 PR-URL: https://github.com/nodejs/node/pull/51925 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
This commit is contained in:
1 parent
90da41548f
commit
fc0b389006
1 file changed
+2
@@ -73,6 +73,7 @@ myEmitter.on('event', function(a, b) {
|
||||
// _events: [Object: null prototype] { event: [Function (anonymous)] },
|
||||
// _eventsCount: 1,
|
||||
// _maxListeners: undefined,
|
||||
// [Symbol(shapeMode)]: false,
|
||||
// [Symbol(kCapture)]: false
|
||||
// } true
|
||||
});
|
||||
@@ -90,6 +91,7 @@ myEmitter.on('event', function(a, b) {
|
||||
// _events: [Object: null prototype] { event: [Function (anonymous)] },
|
||||
// _eventsCount: 1,
|
||||
// _maxListeners: undefined,
|
||||
// [Symbol(shapeMode)]: false,
|
||||
// [Symbol(kCapture)]: false
|
||||
// } true
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user