結果 : how to find repeated elements in an array javascript