Sign in
webkit
/
WebKit
/
d3419240927f96a4ca82ed428e6f04adbc854807
/
.
/
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"
);