mirror of
https://github.com/tc39/test262.git
synced 2025-05-09 17:30:30 +02:00
These tests are derived from the following files within the Google V8 project: test/mjsunit/harmony/private.js
19 lines
514 B
JavaScript
19 lines
514 B
JavaScript
// Copyright 2015 Cubane Canada, Inc. All rights reserved.
|
|
// See LICENSE for details.
|
|
|
|
/*---
|
|
info: >
|
|
Promise has a property at `Symbol.species`
|
|
es6id: 6.1.5.1
|
|
author: Sam Mikes
|
|
description: Promise[Symbol.species] exists per spec
|
|
includes:
|
|
- propertyHelper.js
|
|
---*/
|
|
|
|
assert.sameValue(Promise[Symbol.species], Promise, "Promise[Symbol.species] is Promise");
|
|
|
|
verifyNotWritable(Promise, Symbol.species, Symbol.species);
|
|
verifyNotEnumerable(Promise, Symbol.species);
|
|
verifyConfigurable(Promise, Symbol.species);
|