Skip to content
Snippets Groups Projects
propertyhelper-verifyenumerable-enumerable-symbol.js 414 B
// 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);