mirror of https://github.com/tc39/test262.git
18 lines
414 B
JavaScript
18 lines
414 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 enumerable satisfy the assertion.
|
|
includes: [propertyHelper.js]
|
|
features: [Symbol]
|
|
---*/
|
|
|
|
var obj = {};
|
|
var s = Symbol('1');
|
|
Object.defineProperty(obj, s, {
|
|
enumerable: true
|
|
});
|
|
|
|
verifyEnumerable(obj, s);
|