re: Handling Array Duplicates Can Be Tricky VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Or just use a Set and array.from ?
 

The "tricky" part is related to object duplicates. I'm not sure this approach would work with an array populated with non-primitive values

code of conduct - report abuse