結果 : javascript find index of duplicates in array