File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,6 @@ the value of another global variable, then execute the code multiple times.
160160The globals are contained in the ` context ` object.
161161
162162``` js
163- const util = require (' util' );
164163const vm = require (' vm' );
165164
166165const context = {
@@ -235,7 +234,6 @@ the code multiple times in different contexts. The globals are set on and
235234contained within each individual ` context ` .
236235
237236``` js
238- const util = require (' util' );
239237const vm = require (' vm' );
240238
241239const script = new vm.Script (' globalVar = "set"' );
@@ -889,7 +887,6 @@ properties but also having the built-in objects and functions any standard
889887will remain unchanged.
890888
891889` ` ` js
892- const util = require('util');
893890const vm = require('vm');
894891
895892global.globalVar = 3;
@@ -994,7 +991,6 @@ The following example compiles and executes different scripts using a single
994991[contextified][] object:
995992
996993```js
997- const util = require(' util' );
998994const vm = require(' vm' );
999995
1000996const contextObject = { globalVar: 1 };
@@ -1090,7 +1086,6 @@ The following example compiles and executes code that increments a global
10901086variable and sets a new one. These globals are contained in the `contextObject`.
10911087
10921088```js
1093- const util = require(' util' );
10941089const vm = require(' vm' );
10951090
10961091const contextObject = {
You can’t perform that action at this time.
0 commit comments