📌  相关文章
📜  从列表中删除项目 javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:26.977000             🧑  作者: Mango

代码示例6
//using filter method
let itemsToBeRemoved = ["Sunday", "Monday"]
var filteredArray = myArray.filter(item => !itemsToBeRemoved.includes(item))