Lines Matching +full:vm +full:- +full:other
1 // Copyright Joyent, Inc. and other Node contributors.
18 // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20 // USE OR OTHER DEALINGS IN THE SOFTWARE.
23 // Flags: --expose-gc
27 const vm = require('vm'); constant
30 let context = vm.createContext();
31 let result = vm.runInContext('"passed";', context);
34 // Create a new pre-populated context
35 context = vm.createContext({ 'foo': 'bar', 'thing': 'lala' });
40 result = vm.runInContext('var foo = 3;', context);
47 vm.createContext(sandbox);
49 vm.runInContext('x = 2', sandbox);