Open udarakalpana opened 1 month ago
Write a function that takes a below array and returns a new array with duplicate elements removed.
const numbers = [1, 2, 2, 3, 4, 4, 5]
// Output: [1, 2, 3, 4, 5]
@udarakalpana I started
@udarakalpana I Started this
Write a function that takes a below array and returns a new array with duplicate elements removed.
const numbers = [1, 2, 2, 3, 4, 4, 5]
// Output: [1, 2, 3, 4, 5]