summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/harness/propertyhelper-verifyconfigurable-configurable.js
blob: a069e39103848e12b8779b683140987413ebc3a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (C) 2015 the V8 project authors. 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]
---*/

var obj = {};
Object.defineProperty(obj, 'a', {
  configurable: true
});

verifyConfigurable(obj, 'a');

reportCompare(0, 0);