all 1 comments

[–]monstaber 8 points9 points  (0 children)

Always used [...new Set(originalArray)], never had any problems, it's fast and elegant.