Array unique method

Getting an array of unique values from an array
containing duplicates in JavaScript