blob: 861e87f2f2bb93d3dd3df5d086996d8dc0f7297d (
plain)
1
2
3
4
5
6
7
8
9
|
'use strict';
require('../common');
const vm = require('vm');
console.error('beginning');
vm.runInThisContext('throw new Error("boo!")', { filename: 'test.vm' });
console.error('end');
|