結果 : typescript get duplicates from array