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