Ideas2IT interview question

How to remove duplicate elements from an array.

Interview Answer

Anonymous

22 Dec 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.