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