summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/harness/propertyhelper-verifynotenumerable-not-enumerable-symbol.js
blob: f79314d261d0ff7bca020ed7c8af7aba7f20d695 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
description: >
    Objects whose specified symbol property is not enumerable satisfy the
    assertion.
includes: [propertyHelper.js]
features: [Symbol]
---*/

var obj = {};
var s = Symbol('1');
Object.defineProperty(obj, s, {
  enumerable: false
});

verifyNotEnumerable(obj, s);

reportCompare(0, 0);