michael@0: function returnZero() { return 0; } michael@0: function test() { michael@0: var a = "a"; michael@0: var b = "b"; michael@0: if (returnZero()) { michael@0: return a + b; michael@0: } else { michael@0: return b + a; michael@0: } michael@0: } michael@0: assertEq(test(), "ba"); michael@0: