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 / name.js
blobef63a260eeb754f20b383a1b187e74cbb8bfab5a
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.name 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.name, 'get',
17   'The value of `Map.prototype.get.name` is `"get"`'
20 verifyNotEnumerable(Map.prototype.get, 'name');
21 verifyNotWritable(Map.prototype.get, 'name');
22 verifyConfigurable(Map.prototype.get, 'name');
24 reportCompare(0, 0);