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