1 00:00:00,580 --> 00:00:06,130 Welcome back, welcome to another lecture, and today we're going to learn about objects, so objects 2 00:00:06,130 --> 00:00:11,410 are the second data structure in JavaScript, but it can be also JavaScript type. 3 00:00:11,830 --> 00:00:13,320 And this is very interesting. 4 00:00:13,420 --> 00:00:20,410 So objects allows us to group values, including other objects to build more complex structures. 5 00:00:20,710 --> 00:00:24,820 And there just more a little bit more advanced than arrays. 6 00:00:25,030 --> 00:00:27,970 So objects are collection of properties. 7 00:00:28,220 --> 00:00:30,300 Now, create new file here. 8 00:00:31,600 --> 00:00:34,540 And before I just start explaining. 9 00:00:34,570 --> 00:00:39,420 So creating a file collector seven link it in the index HMO. 10 00:00:39,850 --> 00:00:41,220 Now what about the arrays? 11 00:00:41,410 --> 00:00:44,310 So we w three schools. 12 00:00:44,800 --> 00:00:50,230 So if you search for JavaScript array methods, there's a whole bunch of lists here. 13 00:00:50,230 --> 00:00:55,930 So I didn't show you this page last time, but you should probably know that we three schools is a place 14 00:00:55,930 --> 00:00:57,550 that you can learn a lot of things. 15 00:00:57,850 --> 00:01:03,160 Now just make sure that you go through some of the methods here and practice them. 16 00:01:03,170 --> 00:01:03,650 That's it. 17 00:01:04,690 --> 00:01:09,070 So let's continue working E with the objects now. 18 00:01:09,430 --> 00:01:17,590 Make a comment saying JavaScript objects that said, let's write our first JavaScript object in order 19 00:01:17,590 --> 00:01:21,060 to understand what are what are the objects. 20 00:01:21,070 --> 00:01:28,020 So var student equal to curly brackets name. 21 00:01:29,020 --> 00:01:30,570 Let's put it here Toby. 22 00:01:32,440 --> 00:01:35,110 Then we have age thirty three. 23 00:01:35,530 --> 00:01:37,570 Then I'm going to say occupation. 24 00:01:38,770 --> 00:01:42,200 Oops is going to be that that web developer. 25 00:01:42,370 --> 00:01:44,540 Nice save this one. 26 00:01:44,830 --> 00:01:49,520 So our object is called student in how we know its object. 27 00:01:49,540 --> 00:01:54,190 Well, we have a curly brackets, and that's a very different from the arrays with arrays. 28 00:01:54,220 --> 00:01:55,900 We have the other brackets. 29 00:01:56,220 --> 00:01:56,550 Right. 30 00:01:57,220 --> 00:02:01,530 So that is something that is very different from the arrays. 31 00:02:01,780 --> 00:02:05,440 So the square brackets are different than this curly brackets. 32 00:02:05,680 --> 00:02:06,020 Right. 33 00:02:06,430 --> 00:02:10,180 And also in arrays, we have indexes in here. 34 00:02:10,180 --> 00:02:11,380 We don't have indexes. 35 00:02:11,620 --> 00:02:16,100 But what we do have here is property, name and value. 36 00:02:16,120 --> 00:02:17,730 So this is called property name. 37 00:02:17,980 --> 00:02:20,350 This is a value or you will read somewhere. 38 00:02:20,350 --> 00:02:22,200 It's called key value pair. 39 00:02:22,750 --> 00:02:25,220 And this is the key and this is the value. 40 00:02:25,480 --> 00:02:29,860 So property name and holds a value of TARBY property. 41 00:02:29,860 --> 00:02:35,140 Each holds a value of thirty three and occupation holds the value of that debt. 42 00:02:35,410 --> 00:02:37,440 So that is the difference with the area. 43 00:02:37,450 --> 00:02:43,800 We had index based structure and now we have here we have key value pairs structure. 44 00:02:43,810 --> 00:02:44,120 Right. 45 00:02:44,140 --> 00:02:46,460 So that is a little bit pretty much difference. 46 00:02:46,840 --> 00:02:53,530 So how we can get the property from the objects is pretty much different to how we get the property 47 00:02:53,530 --> 00:02:59,400 from Auris so we can access it with the name of the object with the student. 48 00:03:00,610 --> 00:03:04,340 Then we need to use DOT in the name of the property. 49 00:03:04,570 --> 00:03:09,130 So let's say I want to get the student name, how I can do this. 50 00:03:09,130 --> 00:03:11,740 Well because of that lock. 51 00:03:12,850 --> 00:03:19,890 And first let me grab the student to see what, what the object will look like if it is now we see that 52 00:03:19,930 --> 00:03:23,520 its object and prototype its object. 53 00:03:23,530 --> 00:03:25,530 We don't have to worry about this part at this stage. 54 00:03:25,840 --> 00:03:28,180 So we have name, age, occupation. 55 00:03:28,780 --> 00:03:29,990 That's pretty much it. 56 00:03:30,620 --> 00:03:35,750 Now I want to access the name so I can do loops. 57 00:03:36,190 --> 00:03:40,030 I can do consult that law student. 58 00:03:40,450 --> 00:03:45,330 Now, in order to access the name, I will use DOT and the property name. 59 00:03:45,640 --> 00:03:47,060 That's pretty much it. 60 00:03:47,590 --> 00:03:49,410 Save it then I get Tommy. 61 00:03:49,450 --> 00:03:53,740 Now, if you want to get the H, you do the same thing with H. 62 00:03:53,980 --> 00:03:55,120 You do the same thing. 63 00:03:56,170 --> 00:03:57,430 We occupation. 64 00:03:58,700 --> 00:04:09,380 So this is how you are getting get the name age from student object, right? 65 00:04:10,580 --> 00:04:11,720 Very good. 66 00:04:11,990 --> 00:04:17,310 Now we know how to get the name, how to get the properties of the object. 67 00:04:17,750 --> 00:04:23,890 Also, same as Deery, we can modify or add or remove properties from a specific object. 68 00:04:24,080 --> 00:04:26,230 So let's add student I.D. here. 69 00:04:26,630 --> 00:04:31,030 I want to have a student aid to this student objects how we can do this. 70 00:04:31,340 --> 00:04:34,910 So student, I need to use student. 71 00:04:34,940 --> 00:04:36,170 That's the name of my object. 72 00:04:36,410 --> 00:04:39,560 Then I the ID and then I need to specify. 73 00:04:39,560 --> 00:04:40,870 One, two, three, four, five, six. 74 00:04:41,630 --> 00:04:41,990 Yep. 75 00:04:42,110 --> 00:04:42,900 That's pretty much it. 76 00:04:42,920 --> 00:04:44,780 Save it now. 77 00:04:45,290 --> 00:04:49,610 Cancel that law student object. 78 00:04:49,820 --> 00:04:51,390 Let's see if anything has changed. 79 00:04:52,880 --> 00:04:53,550 Very good. 80 00:04:53,600 --> 00:04:56,020 Now I have another property and a value. 81 00:04:56,240 --> 00:05:00,560 So this is how I can add things inside the objects. 82 00:05:00,740 --> 00:05:04,380 It's a little bit different than the race, but it's a very self explanatory. 83 00:05:04,910 --> 00:05:06,600 So what do you think this will do? 84 00:05:06,890 --> 00:05:14,120 So if I do student that age, but I already have H and I will set that one to twenty three. 85 00:05:14,250 --> 00:05:14,630 Right. 86 00:05:15,080 --> 00:05:24,250 Save it, cancel that log and say student again because I need to access to this one. 87 00:05:24,770 --> 00:05:27,140 Now look what happened the ages there. 88 00:05:28,160 --> 00:05:37,340 But the values change because it's already, we already have the property called H but we just set another 89 00:05:37,340 --> 00:05:41,360 or we modify the value of thirty three with twenty three. 90 00:05:41,570 --> 00:05:47,990 Now you know how to create a new property and how also you can modify the existing value of a property 91 00:05:48,200 --> 00:05:49,220 that is pretty much it. 92 00:05:50,290 --> 00:05:57,010 Now, the concept behind the data structures is very simple, and it's to keep things organized, so 93 00:05:57,010 --> 00:06:03,040 objects are very good for storing data like the data we just created for this student or for users. 94 00:06:03,370 --> 00:06:10,600 But it can be just for anything or just about anything that can be classified as a good example, what 95 00:06:10,810 --> 00:06:12,140 objects can be. 96 00:06:12,340 --> 00:06:14,830 Now, the power of objects they can is. 97 00:06:15,890 --> 00:06:23,450 That they can also hold on the release of items, so let's create an array of items here and we'll be 98 00:06:23,450 --> 00:06:26,750 logical here is to put these subjects. 99 00:06:27,680 --> 00:06:31,490 So I'm just going to put here subjects as an array. 100 00:06:34,070 --> 00:06:37,160 And inside this array, I will have a couple of strings. 101 00:06:37,460 --> 00:06:41,800 Oops, sorry, so I will have calculous here. 102 00:06:45,550 --> 00:06:47,260 Then I will have database's. 103 00:06:49,120 --> 00:07:06,220 Then I will have C++ or Java programming, then I will have C++, then I will have cyber cyber security. 104 00:07:07,870 --> 00:07:09,730 Then I will have Hoopes. 105 00:07:12,190 --> 00:07:14,050 Then I have networking and that's enough. 106 00:07:16,980 --> 00:07:21,690 That is pretty much cool now, even if you put a comma here at the end, it will not throw you an error. 107 00:07:21,960 --> 00:07:29,820 And if you see this in your workplace or in order to Dorians online, then you should know that this 108 00:07:29,820 --> 00:07:34,590 will not throw you an error, although we haven't specified anything down there. 109 00:07:34,620 --> 00:07:34,970 Right. 110 00:07:35,500 --> 00:07:39,480 OK, now how we can access these. 111 00:07:39,780 --> 00:07:43,830 For example, I want these students to access to C++. 112 00:07:44,220 --> 00:07:50,310 Well, let's go back in our browser and we will have now the subjects are. 113 00:07:50,940 --> 00:07:59,220 So if I go to the student, only the subjects that will give me back the array that we just specify 114 00:07:59,220 --> 00:07:59,700 before. 115 00:07:59,910 --> 00:08:07,920 But I want to grab these C++ and I need to know it's what I d or its index. 116 00:08:08,160 --> 00:08:15,930 Now, if you using Google Chrome, if you click on the arrow on your keyboard up arrow key and it will 117 00:08:15,930 --> 00:08:18,450 bring the last executed command. 118 00:08:18,960 --> 00:08:27,630 Now I need these brackets, square brackets and I need to only provide the number three or the index 119 00:08:27,630 --> 00:08:31,360 in order to get the what the subject C++. 120 00:08:31,560 --> 00:08:35,580 So this is how you can access the items within that. 121 00:08:35,610 --> 00:08:41,500 This object are actually items within this array. 122 00:08:41,760 --> 00:08:42,120 Right. 123 00:08:42,360 --> 00:08:44,830 And this array belongs to the student object. 124 00:08:45,270 --> 00:08:45,840 Very good. 125 00:08:45,990 --> 00:08:48,420 Now let's put it back here. 126 00:08:48,780 --> 00:08:52,560 So comes along and I'm going to. 127 00:08:54,800 --> 00:09:01,820 Make sure that I just going to copy the same thing now, you're going to have it for your own so you 128 00:09:01,820 --> 00:09:03,310 can review this one later on. 129 00:09:03,620 --> 00:09:06,410 Now, here, I'm going to say get the. 130 00:09:07,660 --> 00:09:14,200 Array item called C++ from. 131 00:09:17,660 --> 00:09:20,180 Student object, very good. 132 00:09:20,870 --> 00:09:27,020 Now, what I haven't told you last time, previous lectures is that I can also have an array. 133 00:09:27,930 --> 00:09:32,430 And in that area, I can have a student object, so why I didn't tell you this? 134 00:09:32,640 --> 00:09:38,640 Well, we have uncovered the objects and it was not logical to say that array can hold an object as 135 00:09:38,640 --> 00:09:38,880 well. 136 00:09:39,120 --> 00:09:42,720 So let me just show you how we can write that one. 137 00:09:42,730 --> 00:09:53,820 So create I'm going to say var here and let's create a student array and this student array will have 138 00:09:54,000 --> 00:09:54,740 three objects. 139 00:09:55,020 --> 00:10:00,060 So how are we going to define an object with this curly brackets in every every student will have student 140 00:10:00,060 --> 00:10:07,170 ID and every object will have a student ID and student subject count. 141 00:10:07,200 --> 00:10:19,080 OK, now student ID it will be let's put them inside quotes so it will be string comma and subjects 142 00:10:20,010 --> 00:10:20,490 count. 143 00:10:21,150 --> 00:10:23,880 It will be what the subject count will be. 144 00:10:24,090 --> 00:10:25,170 Let's put a number here. 145 00:10:25,620 --> 00:10:25,980 Three. 146 00:10:26,370 --> 00:10:28,920 OK, now next object. 147 00:10:28,920 --> 00:10:33,740 We need to separate them by a comma because this is considered as a single item, right? 148 00:10:33,930 --> 00:10:34,950 Because it's in memory. 149 00:10:35,190 --> 00:10:36,390 That will be second item. 150 00:10:36,420 --> 00:10:37,550 This will be the third item. 151 00:10:37,950 --> 00:10:39,060 Let's put it here one. 152 00:10:39,060 --> 00:10:42,000 Let's put here for let's change this one. 153 00:10:42,000 --> 00:10:44,810 Add a couple of things here, and that's pretty much it. 154 00:10:45,000 --> 00:10:48,030 Now, if you put a semicolon, there comes a log. 155 00:10:48,030 --> 00:10:53,910 This entire area, you will see that we do have. 156 00:10:56,150 --> 00:11:04,140 We do have array of length three, but we do have inside three objects and now I do see their indexes. 157 00:11:04,400 --> 00:11:14,210 So how I will access these subject count for well, first I need to know the name of our array, so 158 00:11:14,210 --> 00:11:15,350 I'm going to do it here again. 159 00:11:16,340 --> 00:11:25,150 Right then in these square brackets, I'm going to define the index of this guy here that has four subjects. 160 00:11:25,190 --> 00:11:29,190 Right, because we said that we I'm going to grab the subject come from that guy. 161 00:11:29,510 --> 00:11:32,710 So, number one, it's in index one. 162 00:11:33,170 --> 00:11:35,450 Now, I just want to get this subject count. 163 00:11:35,450 --> 00:11:40,380 So that subject count in that is pretty much it. 164 00:11:40,910 --> 00:11:41,810 Very good. 165 00:11:42,620 --> 00:11:47,180 Now, let me counsel like this for you guys. 166 00:11:48,800 --> 00:11:49,790 Put a semicolon there. 167 00:11:49,820 --> 00:12:03,810 And this is to get whoops, get the subjects count of an object inside an array. 168 00:12:04,460 --> 00:12:05,010 Nice. 169 00:12:05,450 --> 00:12:08,560 So this is how we can define objects inside array. 170 00:12:08,840 --> 00:12:13,990 And before that, this is how we can define array inside an object. 171 00:12:14,180 --> 00:12:17,000 And it's a little bit different how we access them. 172 00:12:17,000 --> 00:12:19,610 But it's pretty much self explanatory. 173 00:12:19,820 --> 00:12:20,180 Right. 174 00:12:21,110 --> 00:12:26,090 I also want to mention of functions that can be defined here inside an object. 175 00:12:26,510 --> 00:12:28,250 Now the functions define an object. 176 00:12:28,250 --> 00:12:34,310 They will be called methods so these student object can have access to its own methods. 177 00:12:34,550 --> 00:12:43,010 Now let's create a method called pick and loops, and that will be a function, right? 178 00:12:43,430 --> 00:12:44,390 Curly brackets. 179 00:12:45,530 --> 00:12:50,030 And inside just comes a log paid. 180 00:12:51,480 --> 00:12:52,840 An exclamation mark. 181 00:12:53,160 --> 00:13:00,680 So that means that a student paid its own tuition fees right now, that is very good. 182 00:13:00,840 --> 00:13:04,440 So student has access to its own method called paid. 183 00:13:04,740 --> 00:13:09,850 And we are not going to call them functions because their methods of this student object. 184 00:13:10,110 --> 00:13:11,730 So how we can access this? 185 00:13:13,380 --> 00:13:19,860 Method, so student name actually the name of the student, right? 186 00:13:20,070 --> 00:13:23,370 This is the student object that dot. 187 00:13:24,290 --> 00:13:32,690 Eight, and because it's a function we need to use these this brackets, yeah, and if we have arguments, 188 00:13:32,690 --> 00:13:35,420 we need to pass some arguments to save this one. 189 00:13:35,420 --> 00:13:37,280 Go back to your browser. 190 00:13:37,310 --> 00:13:38,060 And here it is. 191 00:13:38,400 --> 00:13:42,180 We do have the page printed out for us. 192 00:13:42,770 --> 00:13:47,300 Now, this leads us to something very interesting. 193 00:13:47,630 --> 00:13:53,230 And I just want to discuss about another JavaScript that called now. 194 00:13:53,390 --> 00:13:56,060 So this will be another JavaScript app that we're going to cover. 195 00:13:56,300 --> 00:14:01,480 And we were not able to cover it until now, but it is called now. 196 00:14:01,490 --> 00:14:05,170 So let's first talk about an empty object. 197 00:14:05,810 --> 00:14:10,450 So last lecture, I show you that we can have an empty. 198 00:14:10,610 --> 00:14:13,040 All right, well, let's create var. 199 00:14:13,990 --> 00:14:14,660 Empty. 200 00:14:15,190 --> 00:14:17,180 All right, that will be equal to. 201 00:14:17,410 --> 00:14:25,650 So we just declare an initialised of the durry, but we not have any data inside. 202 00:14:25,870 --> 00:14:29,650 So that is called Materi, an empty object. 203 00:14:31,030 --> 00:14:35,680 And also the object can't be defined with this curly brackets. 204 00:14:35,980 --> 00:14:36,300 Right. 205 00:14:36,820 --> 00:14:39,430 Let's call the lock both of them now. 206 00:14:39,430 --> 00:14:40,660 Empty object first. 207 00:14:41,080 --> 00:14:42,390 Ordinary doesn't matter. 208 00:14:43,000 --> 00:14:44,230 Let's do them in this order. 209 00:14:44,260 --> 00:14:44,860 Console that. 210 00:14:44,860 --> 00:14:47,350 Lock an empty object. 211 00:14:48,220 --> 00:14:48,640 Oops. 212 00:14:51,500 --> 00:15:00,440 Save it, go back to your and now you do have Lenkov zero and nothing inside of the object, so why 213 00:15:00,470 --> 00:15:01,940 you will ask yourself what? 214 00:15:01,940 --> 00:15:07,670 Why we need why we will need an empty objects or an empty array? 215 00:15:08,030 --> 00:15:14,690 Well, imagine that we have a function that will take these two objects and it will fill them inside 216 00:15:14,690 --> 00:15:15,270 the function. 217 00:15:15,290 --> 00:15:23,050 So let's create a function called field function while you can create a better name for this one. 218 00:15:23,300 --> 00:15:27,310 And inside I will say empty object that name. 219 00:15:27,500 --> 00:15:29,090 So we'll give it the name to Rick. 220 00:15:31,090 --> 00:15:33,150 No empty array. 221 00:15:34,700 --> 00:15:41,390 Let's put push here, let's push an item inside the array and the item name will be James. 222 00:15:42,370 --> 00:15:43,130 Nice. 223 00:15:43,330 --> 00:15:46,970 So we need to call the function field function. 224 00:15:47,410 --> 00:15:48,900 It doesn't take any parameters. 225 00:15:49,930 --> 00:15:53,430 Again, we need to call the lock the both of the race. 226 00:15:53,620 --> 00:15:55,280 So now they were empty before. 227 00:15:55,600 --> 00:15:57,980 Now we create a function that will fill them. 228 00:15:58,000 --> 00:16:03,190 So this function can do anything to them, can create can feel not just with name. 229 00:16:03,190 --> 00:16:07,950 It can have like the student, like age or with the array. 230 00:16:07,960 --> 00:16:11,390 We can push more items inside and we can save it. 231 00:16:11,980 --> 00:16:14,320 Now we have array over one item. 232 00:16:14,740 --> 00:16:20,850 Right, and its index is zero and we have an object with property name and value, Rick. 233 00:16:21,280 --> 00:16:24,700 So that is how we can use these empty objects. 234 00:16:25,180 --> 00:16:32,450 But now, see, sometimes we need an empty array and empty object to declare outside here. 235 00:16:33,160 --> 00:16:35,620 That's why we declaring them outside. 236 00:16:36,960 --> 00:16:43,110 The function, and this is called a global scope, but because we can access these objects anywhere, 237 00:16:43,350 --> 00:16:44,620 even inside the function. 238 00:16:44,640 --> 00:16:46,560 That's why we define them globally here. 239 00:16:47,130 --> 00:16:54,510 If we define them, these two inside here to function, then we will not be able to access them outside 240 00:16:54,510 --> 00:16:55,200 the field function. 241 00:16:55,590 --> 00:16:56,250 Do you understand? 242 00:16:56,340 --> 00:17:00,200 That's it's called that is why this is called global scope here. 243 00:17:00,450 --> 00:17:05,760 Everything that we going to define globally, we can access them even inside the functions or outside 244 00:17:05,760 --> 00:17:06,960 the functions, it will work. 245 00:17:07,530 --> 00:17:10,830 So that is why we define them as an empty outside. 246 00:17:11,650 --> 00:17:19,750 So on the other hand, this leads to a very interesting and unique JavaScript type called Now and so 247 00:17:19,750 --> 00:17:23,650 let's set new object to null and. 248 00:17:25,140 --> 00:17:35,130 This will be a new JavaScript app called Now and We're Here, we will say var no object and that will 249 00:17:35,130 --> 00:17:35,940 be equal to now. 250 00:17:36,900 --> 00:17:42,570 So we can set the object now and let's give an object and age. 251 00:17:42,780 --> 00:17:45,630 So no object or just a name. 252 00:17:46,050 --> 00:17:46,790 That name. 253 00:17:47,500 --> 00:17:49,770 And it will be equal to Rick. 254 00:17:50,680 --> 00:17:55,570 Save it and cancel that lock null object. 255 00:17:55,870 --> 00:17:57,940 All right, so what do you expect to see? 256 00:17:58,120 --> 00:18:02,100 They expect to see now null object feel with the value? 257 00:18:03,310 --> 00:18:07,960 Well, this will throw us an error and it's a card type error. 258 00:18:07,960 --> 00:18:10,540 Cannot set property name on. 259 00:18:10,720 --> 00:18:11,260 No. 260 00:18:12,410 --> 00:18:20,150 And why is this so now, objects returns, no value, the no value, the value now represents the intentional 261 00:18:20,150 --> 00:18:22,060 absence of any object value. 262 00:18:22,550 --> 00:18:28,910 It is one of the JavaScript primitive values, and it's treated as falsey for boolean operations. 263 00:18:29,720 --> 00:18:32,780 And we will have use cases for this. 264 00:18:32,780 --> 00:18:37,370 And it's hard to wrap your head around at this stage, but it will be OK. 265 00:18:37,370 --> 00:18:38,960 We will handle this in the future. 266 00:18:39,860 --> 00:18:46,110 But as you know, the value now represents the intentional absence of the object value. 267 00:18:46,400 --> 00:18:51,900 So when we define something like this to be null, then we do it this intentionally, right? 268 00:18:52,480 --> 00:19:00,120 OK, now we will define more we will create more meaningful examples of how we going to use. 269 00:19:00,140 --> 00:19:02,650 No, don't worry about it in future. 270 00:19:02,660 --> 00:19:09,340 But this is what now and this is another JavaScript type and you already see the empty one as cool. 271 00:19:09,830 --> 00:19:10,940 You see that? 272 00:19:11,120 --> 00:19:12,090 Let's go from top. 273 00:19:12,620 --> 00:19:15,040 Now you know how to create an object with this curly bracket. 274 00:19:15,050 --> 00:19:19,370 We have properties in names of the objects arrays. 275 00:19:19,370 --> 00:19:21,050 We have indexes here. 276 00:19:21,050 --> 00:19:22,490 We don't have it now. 277 00:19:22,490 --> 00:19:26,510 We can access it by using DOT and the properties here. 278 00:19:26,950 --> 00:19:27,410 Right. 279 00:19:28,670 --> 00:19:34,880 Also, the students can have an array of items and we can access them. 280 00:19:36,320 --> 00:19:38,210 Here like this. 281 00:19:39,620 --> 00:19:46,110 And actually, that was not that was for the studio sorry, where we here it is, right. 282 00:19:46,730 --> 00:19:53,300 Also, we can have a functions and the functions inside the objects are called method's. 283 00:19:53,720 --> 00:19:59,960 Now, we discussed about the empty objects or empty arrays and how we can feel them inside a function. 284 00:20:00,380 --> 00:20:04,520 And also we discuss about the no JavaScript type. 285 00:20:05,120 --> 00:20:06,860 And that is pretty much it for this lecture. 286 00:20:06,950 --> 00:20:13,310 Yeah, I'm sorry, it was super long, but I had to explain it because Java in JavaScript arrays and 287 00:20:13,310 --> 00:20:20,660 objects are very, very important and you will see in future YMC very important because our next exercises 288 00:20:20,900 --> 00:20:25,160 will be pretty much of with arrays and objects. 289 00:20:25,160 --> 00:20:27,520 And yeah, you will see what we can do with them. 290 00:20:27,530 --> 00:20:30,120 So stay safe and I will see you in the next one. 291 00:20:30,710 --> 00:20:31,130 Now.