rem: if ((to2 > from2)&&(to2 > 0)&&(from2 < a.length)) { if (from2 < 0)        from2 = 0; if (to2 > a.length) to2 = a.length; 
add: if ((to2 > from2)&&(to2 > 0)&&(from2 < a.length)) { if (from2 < 0)        from2 = 0; if (to2 > a.length) to2 = a.length; 
context: 	function myStringSlice(a, from, to)	{	    var from2        = from;	    var to2          = to;	    var returnString = new String("");	    var i;		    if (from2 < 0) from2 = a.length + from;	    if (to2 < 0)   to2   = a.length + to;		    if ((to2 > from2)&&(to2 > 0)&&(from2 < a.length))	    {	        if (from2 < 0)        from2 = 0;	        if (to2 > a.length) to2 = a.length;		        for (i = from2; i < to2; ++i) returnString += a.charAt(i);	    }	    return returnString;	}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/f5797aeb2410e2259028142b87595fe71f03e531/slice.js/buggy/js/tests/js1_2/String/slice.js