1 // Copyright 2015 Cubane Canada, Inc. All rights reserved.
2 // See LICENSE for details.
6 RegExp has a property at `Symbol.species`
7 esid: sec-get-regexp-@@species
9 description: RegExp[Symbol.species] exists per spec
10 includes: [propertyHelper.js]
11 features: [Symbol.species]
14 var desc = Object.getOwnPropertyDescriptor(RegExp, Symbol.species);
16 assert.sameValue(desc.set, undefined);
17 assert.sameValue(typeof desc.get, 'function');
19 verifyNotWritable(RegExp, Symbol.species, Symbol.species);
20 verifyNotEnumerable(RegExp, Symbol.species);
21 verifyConfigurable(RegExp, Symbol.species);