π‘ #tip - How to remove duplicate items in the array?
It's simple!π
const array = [1, 2, 2, 3, 4, 4];
const uniqueValues = [...new Set(array)]; // [1, 2, 3, 4]
π References
For further actions, you may consider blocking this person and/or reporting abuse
V Chaitanya Chowdari -
Jones Charles -
Innovative Insight -
Innovative Insight -
Top comments (0)