Friday, 26 November 2021

filter the array value

 there are different methods to filter dupicates in an array

check here


this.temp1.filter((v,i) => this.temp1.indexOf(v)===i);




No comments:

Post a Comment

Meet BootUI | Scan AI-Generated Code & Find What AI Missed !

 very usefull link to verify ai content https://www.youtube.com/watch?v=pULGt0Rme58 Click