🤯 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):
Example (Object):
Share with others: