結果 : how to remove duplicate numbers in array javascript using for loop