I have an array of objects like so:
var myArray = [ {field: \'id\', operator: \'eq\', value: id}, {field: \'cStatus\', operator: \'eq\', value: cSta
Say you want to remove the second object by it's field property.
With ES6 it's as easy as this.
myArray.splice(myArray.findIndex(item => item.field === "cStatus"), 1)