Sign in
webkit
/
WebKit
/
3edaba2ba8773ca7f680c84dc462d786504282f8
/
.
/
JSTests
/
es6
/
destructuring_in_for-of_loop_heads.js
blob: 1849076c13f791e42ff1ad9ce957d0ebf7c7faaa [
file
] [
log
] [
blame
]
function
test
()
{
for
(
var
[
i
,
j
,
k
]
of
[[
1
,
2
,
3
]])
{
return
i
===
1
&&
j
===
2
&&
k
===
3
;
}
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);