結果 : print duplicate elements in array javascript