mirror of
https://github.com/nodejs/node.git
synced 2025-05-06 20:08:02 +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');
|