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