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