Best way to remove index object from the array of object

Best way to remove index object from the array of object. var apps = [{id:34,name:’My App’,another:’thing’},{id:37,name:’My New App’,another:’things’}]; // get index of object with id:37 var removeIndex = apps.map(function(item) { return item.id; }).indexOf(37); // remove object apps.splice(removeIndex, 1);