I am trying if an element exists multiple times in an array when I print the array multiple element print only one time.
const arr = [1,2,3,4,6,5,7,6,7,2,8];
// output: 1 2 3 4 6 5 7 8
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
I am trying if an element exists multiple times in an array when I print the array multiple element print only one time.
const arr = [1,2,3,4,6,5,7,6,7,2,8];
// output: 1 2 3 4 6 5 7 8