Sign in
webkit
/
WebKit
/
6cfaf6c7f67081482a364cee0944adf64db41075
/
.
/
JSTests
/
es6
/
RegExp.prototype_properties_RegExp[Symbol.species].js
blob: 492fbf3c14f56ee04e5ec9257dd6d6d223033e42 [
file
] [
log
] [
blame
]
function
test
()
{
var
prop
=
Object
.
getOwnPropertyDescriptor
(
RegExp
,
Symbol
.
species
);
return
'get'
in prop
&&
RegExp
[
Symbol
.
species
]
===
RegExp
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);