// 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); |