| 1 |
// Copyright (C) 2015 the V8 project authors. All rights reserved. |
| 2 |
// This code is governed by the BSD license found in the LICENSE file. |
| 3 |
/*--- |
| 4 |
es6id: 23.4.1.1 |
| 5 |
esid: sec-weakset-iterable |
| 6 |
description: > |
| 7 |
WeakSet ( [ iterable ] ) |
| 8 |
|
| 9 |
17 ECMAScript Standard Built-in Objects |
| 10 |
|
| 11 |
includes: [propertyHelper.js] |
| 12 |
---*/ |
| 13 |
|
| 14 |
assert.sameValue( |
| 15 |
WeakSet.name, 'WeakSet', |
| 16 |
'The value of `WeakSet.name` is "WeakSet"' |
| 17 |
); |
| 18 |
|
| 19 |
verifyNotEnumerable(WeakSet, 'name'); |
| 20 |
verifyNotWritable(WeakSet, 'name'); |
| 21 |
verifyConfigurable(WeakSet, 'name'); |