📜  typescript 从数组中删除一个项目 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:14.384000             🧑  作者: Mango

代码示例3
let foo_object // Item to remove
this.foo_objects = this.foo_objects.filter(obj => obj !== foo_object);