rem: 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; 
add: 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; 
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: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/0b675418ba636127763e94e614e62364d6caa659/slice.js/clean/js/tests/js1_2/String/slice.js