2015-04-21 21:22:35 +02:00
|
|
|
// Copyright (C) 2015 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 string property is not enumerable satisfy the
|
|
|
|
assertion.
|
2015-04-21 21:22:35 +02:00
|
|
|
includes: [propertyHelper.js]
|
|
|
|
---*/
|
|
|
|
|
|
|
|
var obj = {};
|
|
|
|
Object.defineProperty(obj, 'a', {
|
|
|
|
enumerable: false
|
|
|
|
});
|
|
|
|
|
|
|
|
verifyNotEnumerable(obj, 'a');
|