michael@0: actual = ''; michael@0: expected = '[object Arguments] undefined undefined,[object Arguments] undefined undefined,'; michael@0: michael@0: function f() { michael@0: g(arguments); michael@0: } michael@0: michael@0: function g(a, b, c) { michael@0: h(arguments); michael@0: a = 1; michael@0: b = 2; michael@0: c = 3; michael@0: h(arguments); michael@0: } michael@0: michael@0: function h(a, b, c) { michael@0: appendToActual(a + ' ' + b + ' ' + c); michael@0: } michael@0: michael@0: f(4, 5, 6); michael@0: michael@0: michael@0: assertEq(actual, expected)