pardon my English , i want to remove first element of an array of object if it occur twice
here is the array=[{id:34,value:45}, {id:23,value:35}, {id:34,value:28}]
i want to remove first element because third element's id is same as first element
output should be array=[{id:23,value:35}, {id:34,value:28}]