doc: minor typo fix

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Jeff Matson authored and Juan José Arboleda committed 2026-07-19 17:30:53 -05:00
1 parent 7748f609c2
commit ced0276cb3
1 file changed
+3 -3
+3 -3
View File
@@ -1778,10 +1778,10 @@ It does several things at once:
1. Creates a new context.
2. If `contextObject` is an object, [contextifies][contextified] it with the new context.
If `contextObject` is undefined, creates a new object and [contextifies][contextified] it.
If `contextObject` is undefined, creates a new object and [contextifies][contextified] it.
If `contextObject` is [`vm.constants.DONT_CONTEXTIFY`][], don't [contextify][contextified] anything.
3. Compiles the code as a`vm.Script`
4. Runs the compield code within the created context. The code does not have access to the scope in
3. Compiles the code as a `vm.Script`
4. Runs the compiled code within the created context. The code does not have access to the scope in
which this method is called.
5. Returns the result.