Hello and greetings from Bulgaria. I think there is a big confusion between Spread and Rest operators. I have not clarified them yet. So, is it possible that you last example is actually about Rest ? Thank you.
So I have a bad habit of calling it the spread operator no matter what it is doing, but you are correct that the last example would apply to the rest application. It is bringing values together. Thanks for pointing that out!
I love how you explain things. And the length is just about right also.
Thanks!!
Hello and greetings from Bulgaria.
I think there is a big confusion between Spread and Rest operators. I have not clarified them yet. So, is it possible that you last example is actually about Rest ?
Thank you.
So I have a bad habit of calling it the spread operator no matter what it is doing, but you are correct that the last example would apply to the rest application. It is bringing values together. Thanks for pointing that out!
Absolutely fantastic explanation Sir. All concepts of Spread cleared in a single video
Cool explanation. Thanks.
wooowwwww!!!!!!!!!!!!!!!!!!1 great videos of javascript, thanks for your work. love your channel
Beautifully explained. Thanks
thank you for the well thought out explanation
Thank you that was nice explanation
Using the spread operator as a parameter in a function turns it into the "rest operator".
@turbohoodie Absolutely correct.
Sir, Thank you.Nice explanation.
Keep going with those great videos!
Excellent
Awesome stuff.. Keep posting the videos..
great Teacher, thx lot
amazing 😇
I love this channel :) thanks for sharing your knowledge
a huge like for this man.
🐐🐐🐐🐐🐐🐐🐐🙌🏼Thanks a ton!
Can we clone an object using spread operator?
const obj = {
name: 'Steven'
};
const obj2 = { ... obj }
Yes, you can see an example of that as a part of the most recent tutorial I published: th-cam.com/video/rA6-Ai67eyY/w-d-xo.html
Unfortunately, I can give you only one thumbs up for this video.
best