michael@0: function testNullCallee() { michael@0: try { michael@0: function f() { michael@0: var x = new Array(5); michael@0: for (var i = 0; i < 5; i++) michael@0: x[i] = a[i].toString(); michael@0: return x.join(','); michael@0: } michael@0: f([[1],[2],[3],[4],[5]]); michael@0: f([null, null, null, null, null]); michael@0: } catch (e) { michael@0: return true; michael@0: } michael@0: return false; michael@0: } michael@0: assertEq(testNullCallee(), true);