Spread vs Rest Operators in JavaScript
What spread operator does
Spread operator is used to unpack the values from an array or object.
Analogy : Throwing the fragile glass and spreading into pieces.
What rest operator does
Rest operator
javascript-kartik.hashnode.dev3 min read