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