| 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.3.1.1 |
| 5 |
esid: sec-weakmap-iterable |
| 6 |
description: > |
| 7 |
WeakMap ( [ iterable ] ) |
| 8 |
|
| 9 |
17 ECMAScript Standard Built-in Objects |
| 10 |
|
| 11 |
includes: [propertyHelper.js] |
| 12 |
---*/ |
| 13 |
|
| 14 |
assert.sameValue( |
| 15 |
WeakMap.name, 'WeakMap', |
| 16 |
'The value of `WeakMap.name` is "WeakMap"' |
| 17 |
); |
| 18 |
|
| 19 |
verifyNotEnumerable(WeakMap, 'name'); |
| 20 |
verifyNotWritable(WeakMap, 'name'); |
| 21 |
verifyConfigurable(WeakMap, 'name'); |