GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: fix actual result of example is different in events · nodejs/node@fcd0f71

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • events.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/events.md‎

Copy file name to clipboardExpand all lines: doc/api/events.md
+4-3Lines changed: 4 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,11 @@ myEmitter.on('event', function(a, b) {
6868
console.log(a, b, this, this === myEmitter);
6969
// Prints:
7070
// a b MyEmitter {
71-
// domain: null,
72-
// _events: { event: [Function] },
71+
// _events: [Object: null prototype] { event: [Function (anonymous)] },
7372
// _eventsCount: 1,
74-
// _maxListeners: undefined } true
73+
// _maxListeners: undefined,
74+
// [Symbol(kCapture)]: false
75+
// } true
7576
});
7677
myEmitter.emit('event', 'a', 'b');
7778
```

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.