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