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