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