for (i = adjustedFirst + adjustedLen; i < testArray.length; i++) splicedArray.push(testArray[i]); 
for (i = adjustedFirst + adjustedLen; i < testArray.length; i++) splicedArray.push(testArray[i]); 
function mySplice(testArray, splicedArray, first, len, elements){    var removedArray  = [];    var adjustedFirst = first;    var adjustedLen   = len;    if (adjustedFirst < 0) adjustedFirst = testArray.length + first;    if (adjustedFirst < 0) adjustedFirst = 0;    if (adjustedLen < 0) adjustedLen = 0;    for (i = 0; (i < adjustedFirst)&&(i < testArray.length); ++i)	splicedArray.push(testArray[i]);    if (adjustedFirst < testArray.length)	for (i = adjustedFirst; (i < adjustedFirst + adjustedLen) &&		 (i < testArray.length); ++i)	{	    removedArray.push(testArray[i]);	}    for (i = 0; i < elements.length; i++) splicedArray.push(elements[i]);    for (i = adjustedFirst + adjustedLen; i < testArray.length; i++)	splicedArray.push(testArray[i]);    return removedArray;}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/3703c3c05f398a63e55992f7687ef65273b26d6a/splice1.js/buggy/js/tests/js1_2/Array/splice1.js