I have an Array Object as below:
[
{
label : { title: 'Home'},
url: '/'
},
{
label : { title: 'Purchasing'},
url: '//purchasing///'
},
{
label : { title: 'Purchase Order Details'},
url: '//purchasing////2002'
},
{
label : { title: 'Purchase Order Details'},
url: '//purchasing////2002/'
}
]
I want to remove the object (duplicate) based on it's title property. For example: here 3rd & 4th objects have similar title properties.
How to do this?