1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/basic/testResumeOp.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,8 @@ 1.4 +function testResumeOp() { 1.5 + var a = [1,"2",3,"4",5,"6",7,"8",9,"10",11,"12",13,"14",15,"16"]; 1.6 + var x = ""; 1.7 + while (a.length > 0) 1.8 + x += a.pop(); 1.9 + return x; 1.10 +} 1.11 +assertEq(testResumeOp(), "16151413121110987654321");