1 00:00:00,090 --> 00:00:04,830 D afraid of h the spread operators the sprint operator. 2 00:00:04,890 --> 00:00:05,230 Yes. 3 00:00:05,310 --> 00:00:10,920 You will sort of pull the value from an array or extract the properties from an object. 4 00:00:11,100 --> 00:00:23,610 For example if we create an oil way which contains the value of 1 3 5 and we also create a new array 5 00:00:26,940 --> 00:00:29,610 which contains 2 and 4. 6 00:00:29,610 --> 00:00:35,230 If we want to also add the where the 0 from the 0 away we have to use the. 7 00:00:35,250 --> 00:00:35,930 Operator 8 00:00:39,810 --> 00:00:46,350 and then add the 2 and 4 behind and then we try to print out the new away. 9 00:00:54,060 --> 00:01:02,700 Now you can say we contained or the three values from the 0 away and also the 0 The deal values which 10 00:01:02,700 --> 00:01:06,330 is 2 and 4 mastic the object as an example 11 00:01:10,350 --> 00:01:12,600 if the 0 object which contains 12 00:01:16,320 --> 00:01:18,870 a name which is Peter 13 00:01:22,510 --> 00:01:27,840 then height is one hundred and seventy five. 14 00:01:28,200 --> 00:01:38,160 Now if the new object want to have the 0 object properties we have to use this special operator and 15 00:01:38,160 --> 00:01:42,630 then add the properties that we want to add. 16 00:01:42,660 --> 00:01:49,140 For example we have H now if we print out a new object 17 00:01:54,790 --> 00:01:57,850 you can see it contained the name height and also the H. 18 00:01:59,290 --> 00:02:01,840 But if you is not the age. 19 00:02:01,870 --> 00:02:09,640 This is the height for example this is height and the one hundred and eighty eight become updated values 20 00:02:09,940 --> 00:02:18,190 rather than adding the new properties the spread operator not only applied on the array and object it 21 00:02:18,220 --> 00:02:31,150 also can be used in the function. 22 00:02:31,230 --> 00:02:38,850 Now you can see the bump up all arguments this is used to when you do not sure how many arguments do 23 00:02:38,850 --> 00:02:39,690 you have. 24 00:02:39,690 --> 00:02:49,770 You can use but but thought for example if we have one argument one permit us you can see it can print 25 00:02:49,770 --> 00:02:51,690 out the apple 26 00:02:54,320 --> 00:02:58,450 and if we continue add another string 27 00:03:02,830 --> 00:03:11,950 we should change it too I'd give you a print out all range and if we continue to add banana it will 28 00:03:11,950 --> 00:03:14,380 also open out in console 29 00:03:17,160 --> 00:03:24,990 cases because we're using portable argument each time we add the word deal it will become an array so 30 00:03:24,990 --> 00:03:29,520 we can for loop to a loop fluid of values and print out in the console.