there are different methods to filter dupicates in an array
check here
this.temp1.filter((v,i) => this.temp1.indexOf(v)===i);
https://github.com/dcyuksel/Result
No comments:
Post a Comment