1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
actual = ''; expected = '-3,'; v = 0 { let f = function (y) { { let f = function (g) { for each(let h in g) { if (++y > 2) { appendToActual(h) } } }; f([(--y), false, true, (--y), false, (--y)]) } }; f(v) } assertEq(actual, expected)