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

16 lines
412 B
JavaScript
Raw Normal View History

2015-07-01 17:58:01 +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.
/*---
esid: sec-properties-of-the-weakmap-constructor
2015-07-01 17:58:01 +02:00
description: >
The length property of the WeakMap constructor is 0.
includes: [propertyHelper.js]
---*/
2024-03-23 01:48:56 +01:00
verifyProperty(WeakMap, "length", {
value: 0,
writable: false,
enumerable: false,
configurable: true
});