mirror of
https://github.com/nodejs/node.git
synced 2026-12-05 15:38:45 -05: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');
|