summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Map/Symbol.species/symbol-species-name.js
blob: 926d6fb31f3367139346df79ef06a274f041a652 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 23.1.2.2
description: >
  Map[Symbol.species] accessor property get name
info: |
  23.1.2.2 get Map [ @@species ]

  ...
  The value of the name property of this function is "get [Symbol.species]".
features: [Symbol.species]
---*/

var descriptor = Object.getOwnPropertyDescriptor(Map, Symbol.species);

assert.sameValue(
  descriptor.get.name,
  'get [Symbol.species]'
);

reportCompare(0, 0);