I am trying to remove an object based on the obj id.
I have something like
var array =[];
var id =3;
array [
{
id:'1',
title:'test'
},
{
id:'2',
title:'tes2'
},
{
id:'3',
title:'tes3'
}
]
How do I remove the object based on the id 3. thanks!