Sign in
webkit
/
WebKit
/
14cb98a360e661c1b39a648e8ccc3be2e2757789
/
.
/
JSTests
/
es6
/
Array_static_methods_Array[Symbol.species].js
blob: 65fb6e0ccd33417005d491f3e4317e737ae47670 [
file
] [
log
] [
blame
]
function
test
()
{
var
prop
=
Object
.
getOwnPropertyDescriptor
(
Array
,
Symbol
.
species
);
return
'get'
in prop
&&
Array
[
Symbol
.
species
]
===
Array
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);