[{"id":1,"name":"John"},{"id":2,"name":"James"},{"id":3,"name":"Alex"}]
$.grep(Arr.nameList, function(e){
return e.id != 1;
});
console.log(Arr.nameList);
I expect to get 2 array returning back with John discard but I still get them all back, what's wrong with my $.grep above?