Spread vs Rest Operators in JavaScript
JavaScript introduced the spread and rest operators to make working with arrays, objects, and function arguments much easier.
Both operators use the same syntax:
...
But depending on where and how th
blogs.abhishekdogra.in6 min read