Spread vs Rest Operators in JavaScript
In simple terms, the spread operator is used for expanding elements while the rest operator is used to collect multiple elements into an array. These operators have same syntax (...) but have differen
aksh27.hashnode.dev2 min read