What is the best way to remove repeated elements from a array?

remove duplicates in array javascript
remove duplicates from array of objects javascript
remove duplicates from array javascript es6
typescript remove duplicates from array
remove duplicates from sorted array javascript
remove duplicates from array javascript using for loop
remove duplicates from array python
jquery remove duplicates from array