| 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.2 |
| 5 |
esid: sec-properties-of-the-weakmap-constructor |
| 6 |
description: > |
| 7 |
The length property of the WeakMap constructor is 0. |
| 8 |
includes: [propertyHelper.js] |
| 9 |
---*/ |
| 10 |
|
| 11 |
assert.sameValue(WeakMap.length, 0, 'The value of `WeakMap.length` is `0`'); |
| 12 |
|
| 13 |
verifyNotEnumerable(WeakMap, 'length'); |
| 14 |
verifyNotWritable(WeakMap, 'length'); |
| 15 |
verifyConfigurable(WeakMap, 'length'); |