Debian Codegraph @

js/src/tests/test262/harness/propertyhelper-verifynotenumerable-not-enumerable.js

raw
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 string property is not enumerable satisfy the
7 assertion.
8 includes: [propertyHelper.js]
9 ---*/
10
11 var obj = {};
12 Object.defineProperty(obj, 'a', {
13 enumerable: false
14 });
15
16 verifyNotEnumerable(obj, 'a');
17
18 reportCompare(0, 0);