DEV Community

Discussion on: Removing duplicates from an array

lukaszahradnik profile image
Lukáš Zahradník

I thought you meant the way I'm updating accumulator.

I agree with you. I pointed out in my first comment, that there is an issue with returning string representation and not original data.