summaryrefslogtreecommitdiff
path: root/test/harness/propertyhelper-verifyconfigurable-configurable.js
blob: 997c9f93901a92f1db14230e10b3b89710084c6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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');