michael@0: // |jit-test| error: TypeError michael@0: function f(c) { michael@0: var b = arguments; michael@0: if (c == 1) michael@0: b = 1; michael@0: return b; michael@0: } michael@0: michael@0: evaluate("f('a', 'b', 'c', 'd', 'e');"); michael@0: function test(){ michael@0: var args = f('a', (0), 'c'); michael@0: for (var v of args) michael@0: s += v; michael@0: } michael@0: test();