We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c86fa3 commit b6a6004Copy full SHA for b6a6004
doc/api/vm.md
@@ -321,7 +321,7 @@ added: v0.3.1
321
before terminating execution. If execution is terminated, an [`Error`][]
322
will be thrown.
323
324
-The `vm.runInContext()` first contextifies the given `sandbox` object (or
+The `vm.runInNewContext()` first contextifies the given `sandbox` object (or
325
creates a new `sandbox` if passed as `undefined`), compiles the `code`, runs it
326
within the context of the created context, then returns the result. Running code
327
does not have access to the local scope.
0 commit comments