1 00:00:01,210 --> 00:00:07,670 Restructuring can I applied it on both object and also the array. 2 00:00:07,800 --> 00:00:23,760 For example we have the object person which contains the first name not name age and also eye color. 3 00:00:24,090 --> 00:00:30,360 We can type the syntax like this and then we can then use the first lamb directly 4 00:00:33,900 --> 00:00:37,190 and as you can see it already pop out Ellen. 5 00:00:37,380 --> 00:00:46,560 And if we want to also get the H then we can at the h here. 6 00:00:46,590 --> 00:00:49,410 Also we will pop up in the BSD. 7 00:00:49,620 --> 00:00:54,070 The advantage of these is that we do not need to use person or a. 8 00:00:54,600 --> 00:01:02,850 You can use the age diversely because sometimes the object is a left hand object so you have to pass 9 00:01:02,960 --> 00:01:05,450 those thoughts in order to get the value. 10 00:01:05,460 --> 00:01:10,140 I do think that restructuring you can now use together both by radically 11 00:01:16,600 --> 00:01:19,480 now let's take a look on our way. 12 00:01:19,660 --> 00:01:28,290 If we have a way of one and two we can use a and b to get the values. 13 00:01:28,330 --> 00:01:36,170 For example if we just want to have the first value we can use console thought long a and already cut 14 00:01:36,190 --> 00:01:45,100 the first video of the array and if we have a favorite long away we can just use the spot operator and 15 00:01:45,100 --> 00:01:49,760 then type the variable. 16 00:01:49,930 --> 00:01:51,520 Now you can get the value 17 00:01:56,510 --> 00:01:58,400 of the remaining element 18 00:02:06,210 --> 00:02:14,130 now if you just want to get the first value of the array actually you do not need to type A and B in 19 00:02:14,130 --> 00:02:15,410 front of this. 20 00:02:15,570 --> 00:02:25,390 You can just leave the space and then we can also get a foot where do you which is free. 21 00:02:25,400 --> 00:02:29,740 So this is how to do structuring in a way and also in the object.