mirror of https://github.com/tc39/test262.git
19 lines
426 B
JavaScript
19 lines
426 B
JavaScript
// 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);
|