刪除數組的多個元素

問題:img.forEach()刪除多個元素會出現刪除元素錯位rem 解決:方向循環get for(var i=img.length-1; i >= 0; i--) {             let x = i;             if(img[x].getAttribute('src') == 'img/選中.png') {                 car_box.removeC
相關文章
相關標籤/搜索