mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
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…
x
Reference in New Issue
Block a user