Sign in
webkit
/
WebKit
/
2ed4591c58ee0965c6774d2e56141a263323bd78
/
.
/
JSTests
/
es6
/
Set_Set[Symbol.species].js
blob: dfb7414bf12623639db10888be65c08296fba2dc [
file
] [
log
] [
blame
]
function
test
()
{
var
prop
=
Object
.
getOwnPropertyDescriptor
(
Set
,
Symbol
.
species
);
return
'get'
in prop
&&
Set
[
Symbol
.
species
]
===
Set
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);