Spread vs Rest Operators in JavaScript
In JavaScript, the spread operator (...) expands values (breaks them apart), while the rest operator (...) collects values (packs them together). They look identical but behave oppositely depending on
javascript-insights-by-rohit.hashnode.dev5 min read