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:
parent
2e2a848c58
commit
9930f114a0
@ -73,6 +73,7 @@ myEmitter.on('event', function(a, b) {
|
|||||||
// _events: [Object: null prototype] { event: [Function (anonymous)] },
|
// _events: [Object: null prototype] { event: [Function (anonymous)] },
|
||||||
// _eventsCount: 1,
|
// _eventsCount: 1,
|
||||||
// _maxListeners: undefined,
|
// _maxListeners: undefined,
|
||||||
|
// [Symbol(shapeMode)]: false,
|
||||||
// [Symbol(kCapture)]: false
|
// [Symbol(kCapture)]: false
|
||||||
// } true
|
// } true
|
||||||
});
|
});
|
||||||
@ -90,6 +91,7 @@ myEmitter.on('event', function(a, b) {
|
|||||||
// _events: [Object: null prototype] { event: [Function (anonymous)] },
|
// _events: [Object: null prototype] { event: [Function (anonymous)] },
|
||||||
// _eventsCount: 1,
|
// _eventsCount: 1,
|
||||||
// _maxListeners: undefined,
|
// _maxListeners: undefined,
|
||||||
|
// [Symbol(shapeMode)]: false,
|
||||||
// [Symbol(kCapture)]: false
|
// [Symbol(kCapture)]: false
|
||||||
// } true
|
// } true
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user