var stooges = [
{name: 'moe', age: 40},
{name: 'larry', age: 50},
{name: 'curly', age: 60,status:true},
{name: 'kobe', age: 39,status:false}
];
比如我想从这个数组中去除含有status的项,得到结果为
var stooges1 = [
{name: 'moe', age: 40},
{name: 'larry', age: 50},
];
请问如何实现,最好能用Underscore.js或Loadash.js实现
慕田峪9158850
相关分类