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