Spread vs Rest Operators in JavaScript
4d ago · 2 min read · intro
Two operators that confused me a lot when I first learned JavaScript were the Spread (...) and Rest (...) operators. They look exactly the same but do completely opposite things. Let me clear th