π‘ #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
Tristan Elliott -
Vivesh -
Kiolk -
01yym -
Top comments (0)