DEV Community

TK
TK

Posted on

reduce() - Remove duplicate items in an array

Time to play with reduce() 🥳
I will try some functions with reduce() to deepen my understanding about reduce()

Array.prototype.reduce() - JavaScript | MDN

Remove duplicate items in an array

Image 2021-08-08 at 7.37.08 PM

Play it by yourself

Top comments (0)