Arrays are fundamental blocks of how we deal with sets of data. We use them every day, not only in JavaScript but in every language. Today, I would like to show you a particular cool trick I found out reading some code.

I believe it can save you some headache when dealing with removing duplicates from your array. Maybe you need to feed a library function with unique array values, or maybe something else.

#web-development #angular #javascript #react #programming

The new way to remove duplicates from an Array in JavaScript
22.55 GEEK