Sign in
webkit
/
WebKit
/
942f1c55789c2d11f989cfa1840f51c0777b0784
/
.
/
JSTests
/
es6
/
spread_..._operator_with_sparse_arrays_in_array_literals.js
blob: 3883f4688e6958f3b09aa4b4afc963b0862a18d4 [
file
] [
log
] [
blame
]
function
test
()
{
var
a
=
[...[,,]];
return
"0"
in a
&&
"1"
in a
&&
''
+
a
[
0
]
+
a
[
1
]
===
"undefinedundefined"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);