js/src/jit-test/tests/basic/testApply.js

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:6cd45b2ed9aa
1 function testApply() {
2 var q = [];
3 for (var i = 0; i < 10; ++i)
4 Array.prototype.push.apply(q, [5]);
5 return q.join(",");
6 }
7 assertEq(testApply(), "5,5,5,5,5,5,5,5,5,5");

mercurial