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