Say I have this code
var arr = [{id:1,name:\'a\'},{id:2,name:\'b\'},{id:3,name:\'c\'}];
and I want to remove the item with id = 3 from the array. Is th
Use Underscore _.reject():
arr = _.reject(arr, function(d){ return d.id === 3; });