I have an array in javascript like this
var arr = [1,2,1.5,3,1.5,1];
I want to remove all duplicate values from the array,So my output will be like
[2,3]
I can do it using loops.I have posted this question here because I need a fasted way to get it done.