The spread operator(…) is introduced in ES6 .
Spread operator expands an iterable objects into its individual element. An iterable object is anything that you can loop over with our for of loop .
Example of iterable : Array, String , Map, Set, DOM nodes.

#javascript #programming

Learn how to use spread operator in JavaScript
1.45 GEEK