diff --git a/test/language/global-code/decl-lex-configurable-global.js b/test/language/global-code/decl-lex-configurable-global.js index 52465fdace..111e856479 100644 --- a/test/language/global-code/decl-lex-configurable-global.js +++ b/test/language/global-code/decl-lex-configurable-global.js @@ -19,14 +19,15 @@ info: | 1. Perform ? envRec.CreateImmutableBinding(dn, true). ii. Else, 1. Perform ? envRec.CreateMutableBinding(dn, false). -includes: [propertyHelper.js] ---*/ let Array; assert.sameValue(Array, undefined); - assert.sameValue(typeof this.Array, 'function'); -verifyNotEnumerable(this, 'Array'); -verifyWritable(this, 'Array'); -verifyConfigurable(this, 'Array'); + +// DO NOT USE propertyHelper API! +let descriptor = Object.getOwnPropertyDescriptor(this, 'Array'); +assert.sameValue(descriptor.configurable, true); +assert.sameValue(descriptor.enumerable, false); +assert.sameValue(descriptor.writable, true);