Js數組操做

一、刪除數組對象中指定key對應的對象

var newArr = datas.filter(item => item.tableid !== "4");
console.log(newAarr);
複製代碼
相關文章
相關標籤/搜索