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