rem: if (adjustedLen < 0) adjustedLen = 0; 
add: if (adjustedLen < 0) adjustedLen = 0; 
context: 	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;	}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/f5797aeb2410e2259028142b87595fe71f03e531/splice2.js/buggy/js/tests/js1_2/Array/splice2.js