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