Lines Matching defs:const
2 const common = require('../common');
8 const assert = require('assert');
9 const vm = require('vm');
10 const spawn = require('child_process').spawn;
13 const method = process.argv[3];
14 const listeners = +process.argv[4];
18 const script = `process.send('${method}'); while(true) {}`;
19 const args = method === 'runInContext' ?
22 const options = { breakOnSigint: true };
36 for (const method of ['runInThisContext', 'runInContext']) {
37 for (const listeners of [0, 1, 2]) {
38 const args = [__filename, 'child', method, listeners];
39 const child = spawn(process.execPath, args, {