1 // Copyright (C) 2016 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
4 esid: sec-get-regexp-@@species
5 description: Return value of @@species accessor method
7 1. Return the this value.
8 features: [Symbol.species]
12 var accessor = Object.getOwnPropertyDescriptor(RegExp, Symbol.species).get;
14 assert.sameValue(accessor.call(thisVal), thisVal);