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 7f37c17

Browse filesBrowse files
JeffMatsonaduh95
authored andcommitted
doc: minor typo fix
PR-URL: #62358 Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
1 parent eb0ca98 commit 7f37c17
Copy full SHA for 7f37c17

1 file changed

+3-3Lines changed: 3 additions & 3 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/vm.md‎

Copy file name to clipboardExpand all lines: doc/api/vm.md
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1829,10 +1829,10 @@ It does several things at once:
18291829

18301830
1. Creates a new context.
18311831
2. If `contextObject` is an object, [contextifies][contextified] it with the new context.
1832-
If `contextObject` is undefined, creates a new object and [contextifies][contextified] it.
1832+
If `contextObject` is undefined, creates a new object and [contextifies][contextified] it.
18331833
If `contextObject` is [`vm.constants.DONT_CONTEXTIFY`][], don't [contextify][contextified] anything.
1834-
3. Compiles the code as a`vm.Script`
1835-
4. Runs the compield code within the created context. The code does not have access to the scope in
1834+
3. Compiles the code as a `vm.Script`
1835+
4. Runs the compiled code within the created context. The code does not have access to the scope in
18361836
which this method is called.
18371837
5. Returns the result.
18381838

0 commit comments

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