michael@0: michael@0: function foo(x) { michael@0: Object.seal(x); michael@0: x[3] = 4; michael@0: assertEq("" + x, "1,2,3"); michael@0: } michael@0: foo([1,2,3]);