1
00:00:00,060 --> 00:00:08,820
Here and we are going to create a neural function like an arrow function in order to return.

2
00:00:10,340 --> 00:00:14,960
Yes, an error function in order to return the brains of the products.

3
00:00:14,990 --> 00:00:19,160
OK, so we're going to say car is going to be equal to car.

4
00:00:19,220 --> 00:00:24,320
It is like if we can't, we have a car here and we're trying to say, we're going to say, you're going

5
00:00:24,320 --> 00:00:27,710
to Chunka, OK, not.

6
00:00:28,640 --> 00:00:29,270
Brent.

7
00:00:30,630 --> 00:00:35,730
OK, don't he takes stuff, OK?

8
00:00:37,300 --> 00:00:38,530
Heat index of.

9
00:00:40,470 --> 00:00:48,310
In the course of events to target the failure, which is brings leaders like this and.

10
00:00:51,590 --> 00:00:54,520
Greater or equal to zero.

11
00:00:55,460 --> 00:00:58,940
OK, we are going to make this written.

12
00:00:58,960 --> 00:01:06,620
You are going to take all this and put it in our records like this is put it in art class.

13
00:01:06,650 --> 00:01:12,950
That means words when you filter when you two, three, four, Mercedez, your brain is going to be

14
00:01:12,950 --> 00:01:18,320
equal to Mercedez and directly it will update your state, which is brains.

15
00:01:18,950 --> 00:01:27,920
And because it will feature also what you are viewing in your head, what you are viewing it in your

16
00:01:28,280 --> 00:01:29,180
in your browser.

17
00:01:29,210 --> 00:01:35,990
If you thought you try to choose reasoning for Mercedes's, it will take those colors dot filter and

18
00:01:35,990 --> 00:01:41,590
it will take the brains that we have defined it here from our events.

19
00:01:41,600 --> 00:01:50,540
The target to value in that it will come in our car, which is an object of cars taking the brains and

20
00:01:50,540 --> 00:01:54,350
say index of brains, brains.

21
00:01:54,350 --> 00:02:03,710
It will look for this brain in inside of Oregon, our cars here by using these objects and using brains,

22
00:02:03,710 --> 00:02:04,490
not index.

23
00:02:04,730 --> 00:02:06,020
And yes.

24
00:02:07,100 --> 00:02:14,870
Yes, here in the candidates brains, it's we look for our brains in a set of articles by using DeCock

25
00:02:14,990 --> 00:02:27,470
objects and index of brains here, that means in those brains greater and greater than a greater than

26
00:02:27,470 --> 00:02:28,550
equal to zero.

27
00:02:28,580 --> 00:02:32,900
That's means you're going to filter from the.

28
00:02:34,230 --> 00:02:42,160
Yes, you're going to feature from the index zero or more.

29
00:02:42,350 --> 00:02:49,740
OK, yes, that means, for example, I have to filter it to products with a merciless brains.

30
00:02:50,070 --> 00:02:55,640
That means I have this I have to index is the first index.

31
00:02:55,640 --> 00:02:56,550
This is zero.

32
00:02:56,700 --> 00:03:02,370
And the second is the one and reason why you can see we're going to have it marked.

33
00:03:02,370 --> 00:03:07,080
Then we're going to have at least one index.

34
00:03:07,230 --> 00:03:11,990
And if we're if we have a one index, that means the index is equal to zero.

35
00:03:12,000 --> 00:03:17,340
So reason what we are going to filter from the index is zero and so on.

36
00:03:17,490 --> 00:03:23,660
So here we are going to look for the brains instead of our cards and index of function.

37
00:03:23,910 --> 00:03:29,370
We put the brain out here and say, you are going to take from the index to zero.

38
00:03:29,730 --> 00:03:36,410
For example, in the case you have the only one element to filter, that's the index is equal to zero.

39
00:03:36,420 --> 00:03:42,930
And if you have to the index that we have to index this, we have zero and one and three and so on.

40
00:03:43,200 --> 00:03:50,940
So reason why we have this condition here and if I try to make here, if I try to reload this page and

41
00:03:50,940 --> 00:03:59,760
if I click on nurser, this what we have here, Preben Kanata, property values and define it here.

42
00:04:00,380 --> 00:04:06,930
The state cross-bred using that target list.

43
00:04:08,400 --> 00:04:13,400
I think that you have seen this error targets.

44
00:04:13,410 --> 00:04:14,530
You're going to excuse me.

45
00:04:15,510 --> 00:04:18,200
Yes, I think that she is this program.

46
00:04:18,510 --> 00:04:20,460
So let us first come here.

47
00:04:21,300 --> 00:04:31,010
It does reload this page and click on Mercedes's social problem and image of undefined praecox.

48
00:04:32,480 --> 00:04:32,970
Yes.

49
00:04:33,170 --> 00:04:38,010
So we're going to do something here that is Fassel commands our cards.

50
00:04:39,950 --> 00:04:46,480
Yes, here we are going to comment, first of all, we are going to commend the FAIGENBAUM, OK?

51
00:04:48,260 --> 00:04:57,390
It has reloads, it has taken which have Mercilus here it is Cleek home to.

52
00:04:57,440 --> 00:05:05,200
It's all you have to you to let us click on this one here, but needs something like this if it tried

53
00:05:05,210 --> 00:05:07,370
to click on all Mercedes's.

54
00:05:08,930 --> 00:05:09,500
Yes.

55
00:05:09,980 --> 00:05:12,190
And let us restore calm in our.

56
00:05:15,870 --> 00:05:21,540
Components, click on components, just look for where we hit home.

57
00:05:24,310 --> 00:05:32,670
Home is here and a home you're going to see here, branes, which is Mercedez the King.

58
00:05:34,990 --> 00:05:42,070
If I try to put all I have them, I think they can, you know, think.

59
00:05:45,440 --> 00:05:46,460
Here, it's your.

60
00:05:50,960 --> 00:05:58,610
Yes, it's really work, but we need to accomplish what's recorded controlled components, and that's

61
00:05:58,610 --> 00:06:05,810
means once you said stage, you update your which here you must take these gains.

62
00:06:06,150 --> 00:06:14,240
If this value of this value, the value of the brand, which is updated in the US on this value in our

63
00:06:14,240 --> 00:06:21,260
field, in our select button, sorry to say here, we're going to see the value we can.

64
00:06:22,450 --> 00:06:30,860
The value must be equal to props, notes and props, not prints.

65
00:06:30,930 --> 00:06:37,340
OK, we're going to create a new props that's required name brings a DEA controlled component.

66
00:06:39,030 --> 00:06:46,800
We are going to take this who is going to be equal to Brent and here over a hundred years where we have

67
00:06:46,810 --> 00:06:49,990
carried our feature.

68
00:06:50,340 --> 00:06:53,670
We must get a new brain, a new filter.

69
00:06:53,670 --> 00:06:57,600
That's a new process that's going to call it brains.

70
00:06:57,600 --> 00:07:01,740
And we're going to see those states, those.

71
00:07:04,070 --> 00:07:06,190
Brains like this, like.

72
00:07:10,240 --> 00:07:18,920
By creating this brain switches brains, and we are going to cart these props brains in our theater

73
00:07:18,970 --> 00:07:27,010
here, and that means if you let something here in our brain select button, once you select this,

74
00:07:27,250 --> 00:07:36,160
you are using the contents or attributes and you're going to call props that feature they call Hendry.

75
00:07:36,400 --> 00:07:42,760
And the future they call handle is a function which has an event, a like a parameter.

76
00:07:43,060 --> 00:07:52,840
And it will take this value like it will take the dyslexic value and it will bring these selected value

77
00:07:52,840 --> 00:07:56,790
in our home years in the future.

78
00:07:56,790 --> 00:07:59,080
Render function, OK.

79
00:07:59,470 --> 00:08:05,740
It will take this Delu, which is it will take this value and it will update it.

80
00:08:05,740 --> 00:08:10,630
OK, and as you can see here, we have set up this year for Brent.

81
00:08:11,500 --> 00:08:13,960
Brent is equal to events, OK?

82
00:08:14,230 --> 00:08:21,190
Don't target the value and it will update our estate, which is our data, which is in our state, which

83
00:08:21,190 --> 00:08:21,780
is Brent.

84
00:08:22,050 --> 00:08:26,730
It will take Brent is going to be equal to rents, to the selected value.

85
00:08:27,010 --> 00:08:35,050
And once you said state, you update your state in order to accomplish the controlling components notion.

86
00:08:35,350 --> 00:08:44,140
You need to take also the state, which is updated our brains and take this value its value and assign

87
00:08:44,140 --> 00:08:47,130
it still in the value of about sonorities.

88
00:08:47,140 --> 00:08:47,890
Let's buy time.

89
00:08:48,090 --> 00:08:55,060
Okay, so in there if we tried to accurately as big.

90
00:09:05,660 --> 00:09:06,490
Leaders.

91
00:09:07,900 --> 00:09:09,550
That's Mercilus.

92
00:09:13,010 --> 00:09:14,540
It just looked Mercedez.

93
00:09:16,970 --> 00:09:18,320
Yes, Mercilus, your.

94
00:09:20,660 --> 00:09:21,100
Know.

95
00:09:25,370 --> 00:09:27,350
That Officer Reloj speech.

96
00:09:27,510 --> 00:09:40,420
OK, let's on Mercedes's, we have met pavement's register, Toyota if Toyota and click on Islam Reshift

97
00:09:40,430 --> 00:09:40,880
Nissan.

98
00:09:40,880 --> 00:09:41,260
Sure.

99
00:09:41,270 --> 00:09:48,020
And if we click on all, I'll think, OK, and this is the control.

100
00:09:48,020 --> 00:09:51,020
It's a components nation.

101
00:09:52,260 --> 00:09:59,000
So I think that we have finished with the feature parts effectively conversa.

102
00:09:59,000 --> 00:10:02,870
This is the actual effect here.

103
00:10:03,270 --> 00:10:07,160
You see also realistically here it change.

104
00:10:07,730 --> 00:10:08,750
It changes.

105
00:10:09,560 --> 00:10:12,940
And so why we have this year.

106
00:10:12,950 --> 00:10:20,060
So let us come first here and I'm going to explain you something in our homology, because in our Ricard's,

107
00:10:20,630 --> 00:10:26,950
if weeing uncommented, for example, this, we are going to get our leaders.

108
00:10:27,470 --> 00:10:34,970
Let us see first when we feature, for example, in this case, we have four elements for vacance with

109
00:10:34,970 --> 00:10:36,830
Mercedes brains.

110
00:10:37,430 --> 00:10:46,690
And if we try to uncommented this, it will display a state like a car states with the main index.

111
00:10:47,030 --> 00:10:53,800
OK, so you are going to get Iraq because we have only a four indexes.

112
00:10:53,810 --> 00:10:56,320
We have zero one, two, three.

113
00:10:56,630 --> 00:11:02,630
And that's why if you try to accommodate this difference, we have six year to nine and we are going

114
00:11:02,630 --> 00:11:03,410
to get Iraq.

115
00:11:03,450 --> 00:11:08,630
So with zero, it's real Wick's because we have the zero index.

116
00:11:08,630 --> 00:11:14,780
And if we try to make sure you see we have this is from the zero index reason where we have it here

117
00:11:14,780 --> 00:11:17,060
and if we try to say one.

118
00:11:19,420 --> 00:11:27,900
If we see one and let leaders click on Mercedez, if we see one, you can see we are going to get the

119
00:11:28,180 --> 00:11:29,220
one index here.

120
00:11:29,230 --> 00:11:31,750
So we are going to continue the next video.

121
00:11:31,870 --> 00:11:38,980
In the next video, we're going to be talking about how we can sort by price at the lowest is by default.

122
00:11:39,190 --> 00:11:47,500
And if we say to the last, it is by default and if we click on lowest, it will sorts out products

123
00:11:47,500 --> 00:11:51,070
from the lowest priced to the highest priced.

124
00:11:51,250 --> 00:11:54,790
And if you click on highest, it will sorts our products.

125
00:11:54,790 --> 00:11:58,750
Are they cause from the highest price to the lowest price?
