From fc0b38900651bf962f1edf7dbfdf5d15bb862a2c Mon Sep 17 00:00:00 2001 From: Deokjin Kim Date: Sun, 3 Mar 2024 00:35:37 +0900 Subject: [PATCH] doc: fix actual result of example is different in events MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs: https://github.com/nodejs/node/pull/50428 PR-URL: https://github.com/nodejs/node/pull/51925 Reviewed-By: Luigi Pinca Reviewed-By: Vinícius Lourenço Claro Cardoso --- doc/api/events.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/events.md b/doc/api/events.md index 5c69f1ed0d8877..ea58d319739f62 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -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 });