test262/test/built-ins/WeakSet/length.js

16 lines
412 B
JavaScript
Raw Normal View History

2015-06-11 18:41:52 +02:00
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
2017-06-29 22:03:46 +02:00
esid: sec-properties-of-the-weakset-constructor
2015-06-11 18:41:52 +02:00
description: >
The length property of the WeakSet constructor is 0.
includes: [propertyHelper.js]
---*/
2024-03-23 01:48:56 +01:00
verifyProperty(WeakSet, "length", {
value: 0,
writable: false,
enumerable: false,
configurable: true
});