mirror of https://github.com/tc39/test262.git
fix: correction to descriptor definition
This commit is contained in:
parent
025a9691cb
commit
bf0d0f6c3d
|
@ -25,7 +25,7 @@ const realm = new ShadowRealm();
|
|||
|
||||
assert(Object.isExtensible(realm));
|
||||
|
||||
Object.defineProperty(realm, 'foo', {});
|
||||
Object.defineProperty(realm, 'foo', { configurable: true });
|
||||
assert(realm.hasOwnProperty('foo'), 'confirms extensibility adding a new property');
|
||||
|
||||
Object.defineProperty(realm, 'foo', {
|
||||
|
|
Loading…
Reference in New Issue