How do I get all of the unique values in a Java Script array (remove duplicates)? The Problem You have an array that should only have unique values.