1 2 3 4 5 6 7 8 9
function stringSplitIntoArrayTest() { var s = "a,b" var a = []; for (var i = 0; i < 10; ++i) a[i] = s.split(","); return a.join(); } assertEq(stringSplitIntoArrayTest(), "a,b,a,b,a,b,a,b,a,b,a,b,a,b,a,b,a,b,a,b");