myArray = ['a', 'b', 'c', 'd']; delete myArray[1]; // or myArray.splice (1, 1);. Why even have the splice method if I can delete array elements like I can with ...
確定! 回上一頁