Does anyone know if the javascript splice method for arrays works? For example


myList.splice(i,1);


should remove the i'th element (in a for loop)...but my logging hangs :-(