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