Using the JavaScript Spread Operator

preview_player
Показать описание
ES6 gave us the spread operator which is represented by three dots (...). It can be very helpful in working with arrays in certain situations. In this tutorial we will look at several examples of how you can use the spread operator.

For more resources on JavaScript:

Full personalized courses on JavaScript:
Courses offered on Udemy: Getting Started or Advanced Topics at a huge discount:

Tutorials referred to in this video:
Рекомендации по теме
Комментарии
Автор

I love how you explain things. And the length is just about right also.

JohannY
Автор

Absolutely fantastic explanation Sir. All concepts of Spread cleared in a single video

automationgeek
Автор

great videos of javascript, thanks for your work. love your channel

rajeshnaika
Автор

Using the spread operator as a parameter in a function turns it into the "rest operator".

greggfineguitar
Автор

thank you for the well thought out explanation

babaj
Автор

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.

mocococo
Автор

I love this channel :) thanks for sharing your knowledge

JustLookA
Автор

Unfortunately, I can give you only one thumbs up for this video.

j.k.ravshanovich
Автор

Awesome stuff.. Keep posting the videos..

Rajeshkumar-jbpf
Автор

Can we clone an object using spread operator?
const obj = {
name: 'Steven'
};
const obj2 = { ... obj }

liyan