Welcome back.
Let's have a look at this coding challenge.
It says that create a function to remove all duplicate values from an array.
Let me say duplicate values or elements.
Yes.
So it says again that create a function to remove all duplicate values from an array.
The function should take in an array and return a new array with all the duplicates removed.
So.
This is kind of sanitization, right?
So how are you going to solve this challenge?
All right, guys, let me give you some hint, because this is advanced challenge.
Okay.
First of all, you may need the filter method and also the index of method.
All right.
And then in the few time, try to pass in three elements, the element, the index of and the original
array.
All right.
So let me show you how I'm going to solve this one in the next video.