1 2 3 4 5 6 7 8 9 10 11
function f() { function g() { for (var i = 0; i < 3; i++) x = i; }; var [x] = []; g(); assertEq(x, 2); print(x); } f();