Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aed00d7

Browse filesBrowse files
cjihrigMylesBorins
authored andcommitted
doc: add missing code formatting in vm.md
This commit adds missing code formatting in a few places in the vm module documentation. PR-URL: #31350 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 6534c6c commit aed00d7
Copy full SHA for aed00d7

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Collapse file

‎doc/api/vm.md‎

Copy file name to clipboardExpand all lines: doc/api/vm.md
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ added: v10.6.0
106106

107107
* Returns: {Buffer}
108108

109-
Creates a code cache that can be used with the Script constructor's
110-
`cachedData` option. Returns a Buffer. This method may be called at any
109+
Creates a code cache that can be used with the `Script` constructor's
110+
`cachedData` option. Returns a `Buffer`. This method may be called at any
111111
time and any number of times.
112112

113113
```js
@@ -632,8 +632,8 @@ added: REPLACEME
632632
633633
* Returns: {Buffer}
634634
635-
Creates a code cache that can be used with the SourceTextModule constructor's
636-
`cachedData` option. Returns a Buffer. This method may be called any number
635+
Creates a code cache that can be used with the `SourceTextModule` constructor's
636+
`cachedData` option. Returns a `Buffer`. This method may be called any number
637637
of times before the module has been evaluated.
638638

639639
```js

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.