1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/basic/testApply.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,7 @@ 1.4 +function testApply() { 1.5 + var q = []; 1.6 + for (var i = 0; i < 10; ++i) 1.7 + Array.prototype.push.apply(q, [5]); 1.8 + return q.join(","); 1.9 +} 1.10 +assertEq(testApply(), "5,5,5,5,5,5,5,5,5,5");