| 1 |
// Copyright 2015 Cubane Canada, Inc. All rights reserved. |
| 2 |
// See LICENSE for details. |
| 3 |
|
| 4 |
/*--- |
| 5 |
info: | |
| 6 |
Promise has a property at `Symbol.species` |
| 7 |
es6id: 6.1.5.1 |
| 8 |
author: Sam Mikes |
| 9 |
description: Promise[Symbol.species] exists per spec |
| 10 |
includes: |
| 11 |
- propertyHelper.js |
| 12 |
features: [Symbol.species] |
| 13 |
---*/ |
| 14 |
|
| 15 |
assert.sameValue(Promise[Symbol.species], Promise, "Promise[Symbol.species] is Promise"); |
| 16 |
|
| 17 |
verifyNotWritable(Promise, Symbol.species, Symbol.species); |
| 18 |
verifyNotEnumerable(Promise, Symbol.species); |
| 19 |
verifyConfigurable(Promise, Symbol.species); |