Spread vs Rest Operators in JavaScript: Same Symbol, Different Jobs
When you first see ... in JavaScript code, it's confusing. Sometimes it's spreading things out. Sometimes it's collecting things together. Same three dots, completely different behaviour depending on
nawazish.hashnode.dev7 min read