Commit df63b22 1 parent 2b3402e commit df63b22 Copy full SHA for df63b22
File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1117,13 +1117,13 @@ changes:
1117
1117
[Support of dynamic ` import()` in compilation APIs][].
1118
1118
* Returns: {Object } contextified object.
1119
1119
1120
- If given a ` contextObject` , the ` vm.createContext()` method will [prepare
1121
- that object][contextified] and return a reference to it so that it can be used in calls to
1122
- [` vm.runInContext()` ][] or [` script.runInContext()` ][]. Inside such scripts,
1123
- the ` contextObject` will be the global object, retaining all of its existing
1124
- properties but also having the built- in objects and functions any standard
1125
- [global object][] has . Outside of scripts run by the vm module , global variables
1126
- will remain unchanged.
1120
+ If given a ` contextObject` , the ` vm.createContext()` method will [prepare that
1121
+ object][contextified] and return a reference to it so that it can be used in
1122
+ calls to [` vm.runInContext()` ][] or [` script.runInContext()` ][]. Inside such
1123
+ scripts, the ` contextObject` will be the global object, retaining all of its
1124
+ existing properties but also having the built- in objects and functions any
1125
+ standard [global object][] has . Outside of scripts run by the vm module , global
1126
+ variables will remain unchanged.
1127
1127
1128
1128
` ` ` js
1129
1129
const vm = require('node:vm');
You can’t perform that action at this time.
0 commit comments