2016-03-14 18:01:59 +01:00
|
|
|
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
|
|
|
|
/*---
|
2018-01-05 18:29:17 +01:00
|
|
|
description: >
|
2016-03-14 18:01:59 +01:00
|
|
|
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);
|