Use Array.filter
var clubs = [
{id: 1, name : 'chelsea'},
{id: 2, name : 'city'},
{id: 3, name : 'liverpool'}
];
clubs = clubs.filter(function(item){
return item.id !== 2;
});
console.log(clubs);
12
solved How can I remove a index in the array on the javascript?