summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/WeakMap/length.js
blob: d398cfa909db0c01580f3c51478adcf680874429 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-properties-of-the-weakmap-constructor
description: >
  The length property of the WeakMap constructor is 0.
includes: [propertyHelper.js]
---*/

verifyProperty(WeakMap, "length", {
  value: 0,
  writable: false,
  enumerable: false,
  configurable: true
});

reportCompare(0, 0);