使用JavaScript从Array中删除对象
如何从数组中删除对象?我希望删除包含名称的对象。Kristian从…someArray..例如:
Kristian
someArray
someArray = [{name:"Kristian", lines:"2,5,10"}, {name:"John", lines:"1,19,26,96"}];
我要做到:
someArray = [{name:"John", lines:"1,19,26,96"}];
相关分类