I have an array as such: [[1,3],[2,5],[1,3],[2,5]]   and i would like to remove any duplicate sub-arrays. I tried using this code:
 uniqueArray = array.filter(function(item, pos) {
   return array.indexOf(item) == pos;   });
It still returns true for all the cases.
Which function can i use to get the desired result.
 
     
     
     
    