blob: 5264f2437ce9200a39f88590a82b6062e5cff2d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright 2015 Cubane Canada, Inc. All rights reserved.
// See LICENSE for details.
/*---
info: |
Symbol.species is retained on subclassing
author: Sam Mikes
description: Symbol.species is retained on subclassing
features: [Symbol.species]
---*/
class MyRegExp extends RegExp {};
assert.sameValue(MyRegExp[Symbol.species], MyRegExp);
|