blob: 5264f2437ce9200a39f88590a82b6062e5cff2d8 [file] [log] [blame]
// 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);