How can I get a list of unique values in an array? Do I always have to use a second array or is there something similar to java’s hashmap in JavaScript?

I am going to be using JavaScript and jQuery only. No additional libraries can be used.

20 Answers
20

Leave a Reply

Your email address will not be published. Required fields are marked *