mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
348 B
16 lines
348 B
8 years ago
|
'use strict';
|
||
|
// Refs: https://github.com/nodejs/node/issues/6287
|
||
|
|
||
|
require('../common');
|
||
|
const assert = require('assert');
|
||
|
const vm = require('vm');
|
||
|
|
||
|
const context = vm.createContext();
|
||
|
const res = vm.runInContext(`
|
||
|
this.x = 'prop';
|
||
|
delete this.x;
|
||
|
Object.getOwnPropertyDescriptor(this, 'x');
|
||
|
`, context);
|
||
|
|
||
8 years ago
|
assert.strictEqual(res, undefined);
|