There are many ways to get unique items in an array, but my favorite is using the Set object.
_____________________________________________
https://www.baljeetsingh.in
_____________________________________________
Connect with me 😀
Follow me on Twitter - / mbaljeetsingh
_____________________________________________
COURSES 💻
Ionic 4 - Build PWA and Mobile Apps with Angular -
https://www.udemy.com/ionic-4-build-p...
Wordpress Rest API and Ionic 4 (Angular) App With Auth - https://www.udemy.com/course/wordpres...
Angular & NestJS - The Modern MEAN Stack Guide -
https://www.udemy.com/course/angular-...