Spread and Rest operator

The spread operator (...) is used to expand or spread elements from an iterable into individual elements.

Iterable is an Array, String or Object

 

Can be used for :

• copying an array

• margining an array

• passing multiple arguments to a function