mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
PR-URL: https://github.com/nodejs/node/pull/10550 Reviewed-By: Rich Trott <rtrott@gmail.com>
10 lines
188 B
JavaScript
10 lines
188 B
JavaScript
'use strict';
|
|
require('../common');
|
|
const vm = require('vm');
|
|
|
|
console.error('beginning');
|
|
|
|
vm.runInThisContext('throw new Error("boo!")', { filename: 'test.vm' });
|
|
|
|
console.error('end');
|