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