test262/test/harness/verifyProperty-configurable-object.js
jugglinmike ce2dfd49d1 Correct bug in property helper (#2364)
Allow the property helper to be used to verify the configurability of
the global "Object" property.
2019-09-24 16:05:30 -04:00

18 lines
398 B
JavaScript

// Copyright (C) 2019 Bocoup. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: >
Objects whose specified property is configurable satisfy the assertion.
includes: [propertyHelper.js]
---*/
Object.defineProperty(this, 'Object', {
configurable: true,
value: Object
});
verifyProperty(this, 'Object', {
configurable: true
});