michael@0: function testApply() { michael@0: var q = []; michael@0: for (var i = 0; i < 10; ++i) michael@0: Array.prototype.push.apply(q, [5]); michael@0: return q.join(","); michael@0: } michael@0: assertEq(testApply(), "5,5,5,5,5,5,5,5,5,5");