Rest vs Spread operator (... vs ...) in JavaScript

Опубликовано: 25 Сентябрь 2022
на канале: Amit Merchant
185
9

In this video, I'm explaining the difference between two visually same operators, Rest and Spread in JavaScript. I'll also talk about in which use cases they can be used and some of their caveats.

Read more about them in this article: https://www.amitmerchant.com/rest-vs-...

You can follow me on Twitter:   / amit_merchant  

00:00 Intro
00:45 Spread operator
03:39 Rest operator