The Spread Operator & The Rest Parameter
The spread operator and the rest parameter were introduced in the ES6 version of JavaScript.
The rest operator serves as an easier way to perform what the 'arguments' object does while the spread syntax replaces the long way of using loops to copy an...
peaceadebola.hashnode.dev3 min read
Dany Tulumidis
Development <3
Always helpful this two little features, thanks for the reminder!