propertyhelper-verifynotconfigurable-not-configurable.js (407B)
1 // Copyright (C) 2015 the V8 project authors. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 description: > 6 Objects whose specified property is not configurable satisfy the assertion. 7 includes: [propertyHelper.js] 8 ---*/ 9 10 var obj = {}; 11 Object.defineProperty(obj, 'a', { 12 configurable: false 13 }); 14 15 verifyNotConfigurable(obj, 'a'); 16 17 reportCompare(0, 0);