Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Map/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.1.2
5 description: Map.length is 0.
6 info: |
7 Properties of the Map Constructor
8
9 Besides the length property (whose value is 0)
10 includes: [propertyHelper.js]
11 ---*/
12
13 assert.sameValue(Map.length, 0, 'The value of Map.length is 0');
14
15 verifyNotEnumerable(Map, 'length');
16 verifyNotWritable(Map, 'length');
17 verifyConfigurable(Map, 'length');