π‘ #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
Dumebi Okolo -
Max Bohomolov -
Nozibul Islam -
balrajOla -
Top comments (0)