Implement Array Deduplication in JavaScript

# Introduction In this challenge, we will be implementing array deduplication. The task is to encapsulate a function that removes duplicate elements from an array and returns a new array. The function should handle arrays of numbers and not consider special cases such as objects, `null`, `undefined`, and `NaN`.

|60 : 00

Click the virtual machine below to start practicing