Spread Operator

The spread operator is a feature of JavaScript introduced with ES6 that gives us a mean to copy elements in iterable object. As the result, by copying elements from different iterable object, we have the possibility to create new object, merge object, and to avoid duplicate key in new created object.