刪除陣列 中的某個元素,首先需要確定需要刪除元素的索引值。 var arr=[1,5,6,12,453,324]; function indexOf(val){ for(var i = 0; i < arr.length; i++){ if(arr[i] ...
確定! 回上一頁