Backed out 3 changesets (bug 1892041) for causing failures on async-module-does-not...
[gecko.git] / js / src / tests / test262 / built-ins / Map / prototype / get / length.js
blob4d6e66ffcb6a11e82f500d2098d8e091de8093a0
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 esid: sec-map.prototype.get
5 description: >
6   Map.prototype.get.length value and descriptor.
7 info: |
8   Map.prototype.get ( key )
10   17 ECMAScript Standard Built-in Objects
12 includes: [propertyHelper.js]
13 ---*/
15 assert.sameValue(
16   Map.prototype.get.length, 1,
17   'The value of `Map.prototype.get.length` is `1`'
20 verifyNotEnumerable(Map.prototype.get, 'length');
21 verifyNotWritable(Map.prototype.get, 'length');
22 verifyConfigurable(Map.prototype.get, 'length');
24 reportCompare(0, 0);