I have an array which contains multiple objects as below. How can i remove the complete object which contains particular value.
var cars= [
{key: 'browser', label: 'Chrome'},
{key: 'browser', label: 'Firefox'},
{key: 'browser', label: 'Safari'}
];
For example the objects to be removed are those which contains label chrome and safari.
I have come across examples of single dimensional arrays of values, but this is an array of objects.