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