const count = [1, 2, 3, 4, 5, 1, 4, 5, 2, 6, 1, 9, 10]
      const uniqueValues = [...new Set(count)]
      

      Javascript language logo
      Get unique values of array

      unique
      array
      unique-values-form-array
      Javascript recipes

      Get unique values from an array

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.