The spread operator (…) is a new powerful feature introduced in JavaScript ES6. It allows expansion of iterables such as arrays, objects, and function’s arguments in place where zero or [ … ]
The spread operator (…) is a new powerful feature introduced in JavaScript ES6. It allows expansion of iterables such as arrays, objects, and function’s arguments in place where zero or [ … ]