The Rest and Spread operators are two sides of the same thing - the ability to take an array and break it apart into its individual components or combine a bunch of elements into a single array. Just remember that it needs to be used within the context of passing the value(s) to a function or creating an array.
Code Gist: [ Ссылка ]
MDN reference: [ Ссылка ]
![](https://s2.save4k.ru/pic/QtGbcvZ6774/maxresdefault.jpg)