Remove Object from ArrayList

obj = [{name:”Muthukumar”, dob:”01/06/1983″},
{name:”Sukumar”, lines:”01/01/1978″},
{name:”Kumar”,lines:”12/12/1986″ }];
console.log(obj);

_obj = obj.filter(function(row) {
return row.name !== “Muthukumar”;
});
console.log(_obj);

Leave a Reply

Your email address will not be published. Required fields are marked *

14 − 10 =