From ced0276cb3aa17aa06210a36cfbf2189ba42637b Mon Sep 17 00:00:00 2001 From: Jeff Matson <6805601+JeffMatson@users.noreply.github.com> Date: Sun, 22 Mar 2026 17:48:57 -0400 Subject: [PATCH] doc: minor typo fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/62358 Reviewed-By: Zeyu "Alex" Yang Reviewed-By: René Reviewed-By: Minwoo Jung Reviewed-By: Luigi Pinca Reviewed-By: Ulises Gascón --- doc/api/vm.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/vm.md b/doc/api/vm.md index d83a24542d3..4393090f5d3 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -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.