title: How to get unique values in an array
body: <p>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?</p>
  
  <p>I am going to be using <strong>JavaScript</strong> and <strong>jQuery</strong> only. No additional libraries can be used.</p>