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