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