summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/symbol-species.js
blob: 1d62c861bc6a557f67bda796a80436dda6769ab4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2015 Cubane Canada, Inc.  All rights reserved.
// See LICENSE for details.

/*---
info: >
 Array has a property at `Symbol.species`
es6id: 22.1.2.5
author: Sam Mikes
description: Array[Symbol.species] exists per spec
includes:
  - propertyHelper.js
---*/

assert.sameValue(Array[Symbol.species], Array, "Array[Symbol.species] is Array");

verifyNotWritable(Array, Symbol.species, Symbol.species);
verifyNotEnumerable(Array, Symbol.species);
verifyConfigurable(Array, Symbol.species);