summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/WeakSet/length.js
blob: 606922e0de24b173dea156f00e3d2839663f6ed1 (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-weakset-constructor
description: >
  The length property of the WeakSet constructor is 0.
includes: [propertyHelper.js]
---*/

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

reportCompare(0, 0);