Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / built-ins / Array / Symbol.species / symbol-species-name.js
blobf74dac394e68b3642f52db2dd17dca0eace36830
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: 22.1.2.5
5 description: >
6   Array[Symbol.species] accessor property get name
7 info: |
8   22.1.2.5 get Array [ @@species ]
10   ...
11   The value of the name property of this function is "get [Symbol.species]".
12 features: [Symbol.species]
13 includes: [propertyHelper.js]
14 ---*/
16 var descriptor = Object.getOwnPropertyDescriptor(Array, Symbol.species);
18 verifyProperty(descriptor.get, "name", {
19   value: "get [Symbol.species]",
20   writable: false,
21   enumerable: false,
22   configurable: true
23 });
25 reportCompare(0, 0);