Backed out 3 changesets (bug 1892041) for causing failures on async-module-does-not...
[gecko.git] / js / src / tests / test262 / built-ins / Map / length.js
blobc63939508b268ee1fd66996fd48609ba6fd7e0d0
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
9   Besides the length property (whose value is 0)
10 includes: [propertyHelper.js]
11 ---*/
13 assert.sameValue(Map.length, 0, 'The value of Map.length is 0');
15 verifyNotEnumerable(Map, 'length');
16 verifyNotWritable(Map, 'length');
17 verifyConfigurable(Map, 'length');
19 reportCompare(0, 0);