Spread vs Rest Operators in JavaScript
What Spread Operator Does
The spread operator (...) is used to expand or “spread” elements of an iterable (like an array, string, or object) into individual elements. It is commonly used when you want
divit.hashnode.dev3 min read