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