I have a pretty simple JavaScript array with duplicates that may or may not exist.
var names = ["Mike","Matt","Nancy","Adam","Jenny","Nancy","Carl"];
I need to eliminate the duplicates and create a new array with the unique data.
I could list all of the codes I've tried, but I think it's pointless because they don't work. I also accept jQuery solutions.