I have this in array:
[
{item: "7621629-01/17-23", phoneNum: "032/406713"},
{item: "7621629-01/17-24", phoneNum: "032/406713"},
{item: "7621629-01/17-25", phoneNum: "032/406713"}
]
What i want is to remove all duplicates phoneNum and left only one. Any suggestion how can i do that? Its in .ts file. So to have object but to remove duplicate phoneNum because im using autocomplete and now in suggestion i get three same number