1
00:00:01,240 --> 00:00:02,560
Welcome back.

2
00:00:03,910 --> 00:00:06,470
Let's have a look at this coding challenge.

3
00:00:06,490 --> 00:00:14,470
It says that create a function to remove all duplicate values from an array.

4
00:00:14,560 --> 00:00:17,480
Let me say duplicate values or elements.

5
00:00:17,500 --> 00:00:18,130
Yes.

6
00:00:18,880 --> 00:00:25,750
So it says again that create a function to remove all duplicate values from an array.

7
00:00:25,780 --> 00:00:31,450
The function should take in an array and return a new array with all the duplicates removed.

8
00:00:31,660 --> 00:00:32,470
So.

9
00:00:33,290 --> 00:00:36,230
This is kind of sanitization, right?

10
00:00:36,230 --> 00:00:39,320
So how are you going to solve this challenge?

11
00:00:39,890 --> 00:00:44,330
All right, guys, let me give you some hint, because this is advanced challenge.

12
00:00:44,380 --> 00:00:44,930
Okay.

13
00:00:45,440 --> 00:00:50,300
First of all, you may need the filter method and also the index of method.

14
00:00:50,330 --> 00:00:50,840
All right.

15
00:00:50,840 --> 00:00:57,770
And then in the few time, try to pass in three elements, the element, the index of and the original

16
00:00:57,770 --> 00:00:58,340
array.

17
00:00:58,760 --> 00:00:59,390
All right.

18
00:00:59,390 --> 00:01:02,930
So let me show you how I'm going to solve this one in the next video.

