fix: correction to descriptor definition

This commit is contained in:
rwaldron 2021-09-02 11:12:03 -04:00
parent 025a9691cb
commit bf0d0f6c3d
1 changed files with 1 additions and 1 deletions

View File

@ -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', {