Skip to content

Commit 93d19b1

Browse 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 3db35d2 commit 93d19b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/vm.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1823,10 +1823,10 @@ It does several things at once:
18231823

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

0 commit comments

Comments
 (0)