Debian Codegraph @

js/src/tests/test262/built-ins/WeakMap/length.js

raw
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 esid: sec-properties-of-the-weakmap-constructor
5 description: >
6 The length property of the WeakMap constructor is 0.
7 includes: [propertyHelper.js]
8 ---*/
9
10 verifyProperty(WeakMap, "length", {
11 value: 0,
12 writable: false,
13 enumerable: false,
14 configurable: true
15 });
16
17 reportCompare(0, 0);