there are different methods to filter dupicates in an array
check here
this.temp1.filter((v,i) => this.temp1.indexOf(v)===i);
very usefull link to verify ai content https://www.youtube.com/watch?v=pULGt0Rme58 Click
No comments:
Post a Comment