Spread Operator and Rest Parameters
Learn how to easily combine Array with the spread operator and much more.
We'll cover the following...
The Spread operator #
According to MDN:
Spread syntax allows an iterable such as an array expression or string to be expanded in places where zero or more arguments (for function calls) or elements (for array literals) are expected, or an object expression to be expanded in places where zero or more key-value pairs (for object literals) are expected.
Combine arrays #
Access this course and 1400+ top-rated courses and projects.