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>
11 lines
173 B
JavaScript
11 lines
173 B
JavaScript
'use strict';
|
|
require('../common');
|
|
const vm = require('vm');
|
|
|
|
console.error('before');
|
|
|
|
// undefined reference
|
|
vm.runInNewContext('foo.bar = 5;');
|
|
|
|
console.error('after');
|