Using TypeScript, I am trying to extract unique values from a list of comma-separated duplicate strings:
this.Proid = this.ProductIdList.map(function (e) { return e.ProductId;}).join(',');
this.Proid = "2,5,2,3,3";
The desired output is:
this.Proid = "2,5,3";