Ideas2IT Interview Question

How to remove duplicate elements from an array.

Interview Answer

Anonymous

Dec 22, 2019

I wrote a basic Javascript function that does the job. But I was supposed to use the new ES6 Data Structure called Set, which I didn't know about at that moment.