Sign in
webkit
/
WebKit
/
6ac1ae7345a9a50f3760d4fdf5f8c6512c4a9901
/
.
/
JSTests
/
es6
/
destructuring_with_sparse_arrays.js
blob: beb2fd1b06e124b7d2c6b13dc52d5a5af242e093 [
file
] [
log
] [
blame
]
function
test
()
{
var
[
a
,
b
]
=
[,,];
return
a
===
undefined
&&
b
===
undefined
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);