rem: var removedArray  = []; var adjustedFirst = first; var adjustedLen   = len; 
add: var removedArray  = []; var adjustedFirst = first; var adjustedLen   = len; 
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: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/0b675418ba636127763e94e614e62364d6caa659/splice2.js/buggy/js/tests/js1_2/Array/splice2.js