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