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: add require statement in the example · nodejs/node@47b4b2b

File tree

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

‎doc/api/v8.md‎

Copy file name to clipboardExpand all lines: doc/api/v8.md
+2Lines changed: 2 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ Chrome DevTools. The JSON schema is undocumented and specific to the
102102
V8 engine, and may change from one version of V8 to the next.
103103

104104
```js
105+
// Print heap snapshot to the console
106+
const v8 = require('v8');
105107
const stream = v8.getHeapSnapshot();
106108
stream.pipe(process.stdout);
107109
```

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.