Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/WeakSet/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 es6id: 23.4.2
5 esid: sec-properties-of-the-weakset-constructor
6 description: >
7 The length property of the WeakSet constructor is 0.
8 includes: [propertyHelper.js]
9 ---*/
10
11 assert.sameValue(WeakSet.length, 0, 'The value of `WeakSet.length` is `0`');
12
13 verifyNotEnumerable(WeakSet, 'length');
14 verifyNotWritable(WeakSet, 'length');
15 verifyConfigurable(WeakSet, 'length');