javascriptでリストから重複を省く
var myArray = [1,2,3,4,5,5,3]; uniqueArray = myArray.filter(function(e, pos){ return myArray.indexOf(e) == pos; })
参考: Remove Duplicates from JavaScript Array - Stack Overflow
var myArray = [1,2,3,4,5,5,3]; uniqueArray = myArray.filter(function(e, pos){ return myArray.indexOf(e) == pos; })
参考: Remove Duplicates from JavaScript Array - Stack Overflow