diff options
Diffstat (limited to 'doc/api/vm.md')
-rw-r--r-- | doc/api/vm.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/vm.md b/doc/api/vm.md index 3342a2e6a7c..408808db373 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -299,7 +299,7 @@ console.log(globalVar); ## Class: `vm.Module` <!-- YAML -added: REPLACEME +added: v12.16.0 --> > Stability: 1 - Experimental @@ -623,7 +623,7 @@ const contextifiedObject = vm.createContext({ secret: 42 }); ## Class: `vm.SyntheticModule` <!-- YAML -added: REPLACEME +added: v12.16.0 --> > Stability: 1 - Experimental @@ -652,7 +652,7 @@ const module = new vm.SyntheticModule(['default'], function() { ### Constructor: `new vm.SyntheticModule(exportNames, evaluateCallback[, options])` <!-- YAML -added: REPLACEME +added: v12.16.0 --> * `exportNames` {string[]} Array of names that will be exported from the module. @@ -672,7 +672,7 @@ the module to access information outside the specified `context`. Use ### `syntheticModule.setExport(name, value)` <!-- YAML -added: REPLACEME +added: v12.16.0 --> * `name` {string} Name of the export to set. |