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