???? Spread Operator was introduced in ES6
???? You can use it with an iterable array or object
???? It allows expanding an array into its components
???? It helps in the concatenation of an array or object properties
???? It is different from rest parameter
Spread Syntax:
Three dots (...)
Example (Array):
- Combine or concatenate two arrays into new arra
Example (Object):
- Combine or concatenate two objects into new object