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