Skip to content

Commit fa94a91

Browse files
benglevanlucas
authored andcommitted
doc: v8 functions as methods on v8
For consistency with other docs, show v8 functions as being on the v8 object. PR-URL: #6615 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Stephen Belanger <[email protected]>
1 parent d49b49e commit fa94a91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/v8.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This module exposes events and interfaces specific to the version of [V8][]
66
built with Node.js. These interfaces are subject to change by upstream and are
77
therefore not covered under the stability index.
88

9-
## getHeapStatistics()
9+
## v8.getHeapStatistics()
1010

1111
Returns an object with the following properties
1212

@@ -21,7 +21,7 @@ Returns an object with the following properties
2121
}
2222
```
2323

24-
## getHeapSpaceStatistics()
24+
## v8.getHeapSpaceStatistics()
2525

2626
Returns statistics about the V8 heap spaces, i.e. the segments which make up
2727
the V8 heap. Order of heap spaces nor availability of a heap space can be
@@ -70,7 +70,7 @@ Example result:
7070
]
7171
```
7272

73-
## setFlagsFromString(string)
73+
## v8.setFlagsFromString(string)
7474

7575
Set additional V8 command line flags. Use with care; changing settings
7676
after the VM has started may result in unpredictable behavior, including

0 commit comments

Comments
 (0)