Sign in
webkit
/
WebKit
/
7fe4b05a6e1bebe4bdb270faa792e30e9af7dec1
/
.
/
JSTests
/
es6
/
destructuring_in_for-in_loop_heads.js
blob: 0ee742d3ec0ffb9cf151617b0324c29918166936 [
file
] [
log
] [
blame
]
function
test
()
{
for
(
var
[
i
,
j
,
k
]
in
{
qux
:
1
})
{
return
i
===
"q"
&&
j
===
"u"
&&
k
===
"x"
;
}
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);