How to remove duplicate items from an array in JavaScript?
Anonymous
users =[1,1,4,4,5]; // given array
How can we remove duplicate elements from the array, what should be the approach?
users =[1,1,4,4,5]; // given array
How can we remove duplicate elements from the array, what should be the approach?